Changeset: 4b70ef806aa4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4b70ef806aa4
Added Files:
        clients/mapiclient/Tests/tachograph--help
        clients/mapiclient/Tests/tachograph--help.bat
        clients/mapiclient/Tests/tachograph--help.stable.err
        clients/mapiclient/Tests/tachograph--help.stable.out
Modified Files:
        clients/mapiclient/Tests/All
Branch: default
Log Message:

added "--help" test also for new "tachograph" tool


diffs (79 lines):

diff --git a/clients/mapiclient/Tests/All b/clients/mapiclient/Tests/All
--- a/clients/mapiclient/Tests/All
+++ b/clients/mapiclient/Tests/All
@@ -2,3 +2,4 @@ mclient--help
 msqldump--help
 stethoscope--help
 tomograph--help
+tachograph--help
diff --git a/clients/mapiclient/Tests/tachograph--help 
b/clients/mapiclient/Tests/tachograph--help
new file mode 100755
--- /dev/null
+++ b/clients/mapiclient/Tests/tachograph--help
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+Mlog -x $MTIMEOUT tachograph --help
diff --git a/clients/mapiclient/Tests/tachograph--help.bat 
b/clients/mapiclient/Tests/tachograph--help.bat
new file mode 100755
--- /dev/null
+++ b/clients/mapiclient/Tests/tachograph--help.bat
@@ -0,0 +1,4 @@
+@echo on
+@prompt # $t $g  
+
+       %MTIMEOUT% tachograph --help
diff --git a/clients/mapiclient/Tests/tachograph--help.stable.err 
b/clients/mapiclient/Tests/tachograph--help.stable.err
new file mode 100644
--- /dev/null
+++ b/clients/mapiclient/Tests/tachograph--help.stable.err
@@ -0,0 +1,27 @@
+stderr of test 'tachograph--help` in directory 'clients/mapiclient` itself:
+
+
+# 11:43:47 >  
+# 11:43:47 >  Mtimeout -timeout 120 ./tachograph--help tachograph--help 
+# 11:43:47 >  
+
+
+# 10:36:09 >  
+# 10:36:09 >  Mtimeout -timeout 60 tachograph --help
+# 10:36:09 >  
+
+tachograph [options]
+  -d | --dbname=<database_name>
+  -u | --user=<user>
+  -p | --port=<portnr>
+  -h | --host=<hostname>
+  -b | --beat=<delay> in milliseconds (default 5000)
+  -i | --interactive=<o | 1> show trace on stdout
+  -o | --output=<webfile>
+  -w | --wait=<delay time> in milliseconds
+  -? | --help
+
+# 23:54:13 >  
+# 23:54:13 >  "Done."
+# 23:54:13 >  
+
diff --git a/clients/mapiclient/Tests/tachograph--help.stable.out 
b/clients/mapiclient/Tests/tachograph--help.stable.out
new file mode 100644
--- /dev/null
+++ b/clients/mapiclient/Tests/tachograph--help.stable.out
@@ -0,0 +1,17 @@
+stdout of test 'tachograph--help` in directory 'clients/mapiclient` itself:
+
+
+# 11:43:47 >  
+# 11:43:47 >  Mtimeout -timeout 120 ./tachograph--help tachograph--help 
+# 11:43:47 >  
+
+
+# 11:43:47 >  
+# 11:43:47 >  Mtimeout -timeout 60 tachograph --help
+# 11:43:47 >  
+
+
+# 11:43:47 >  
+# 11:43:47 >  Done.
+# 11:43:47 >  
+
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to