SEBA-902/SEBA-903
Test cases and Makefile created to test importer API's.
Robot Framework suite was also created with 1 test case for now pending additional information of hardware availability.
Change-Id: I0e1b1e573a25c5eab36b7e18ee7c79deea294828
diff --git a/demo_test/cmd_client/cmd_cl.go b/demo_test/cmd_client/cmd_cl.go
index 067f8f4..da19079 100644
--- a/demo_test/cmd_client/cmd_cl.go
+++ b/demo_test/cmd_client/cmd_cl.go
@@ -18,6 +18,7 @@
import "fmt"
import "bufio"
import "os"
+import "strings"
func main() {
// connect to this socket
@@ -27,7 +28,8 @@
for {
// read in input from stdin
fmt.Print("CMD to send : ")
- text, _ := reader.ReadString('\n')
+ text, _ := reader.ReadString(';')
+ text = strings.TrimSuffix(text, ";")
// send to socket
fmt.Fprintf(conn, text+"\n")