Update of /cvsroot/monetdb/MonetDB4/src/tools/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2900/MonetDB4/src/tools/Tests
Modified Files:
All
Added Files:
mclient-lmil--help.MIL.bat mclient-lmil--help.MIL.sh
mclient-lmil--help.stable.err mclient-lmil--help.stable.out
Log Message:
Added tests for mclient's language-specific interactive help messages.
The correct/expected stable output still need to be
checked/verified/fixed by the respective developer(s)/maintainer(s).
Index: All
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/tools/Tests/All,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- All 18 Aug 2007 23:31:07 -0000 1.2
+++ All 30 Aug 2007 00:13:42 -0000 1.3
@@ -1,5 +1,6 @@
Mserver--help
Mbeddedmil--help
+mclient-lmil--help
# create_destroy_db
# server
# client
--- NEW FILE: mclient-lmil--help.MIL.sh ---
#!/bin/sh
Mlog -x $MIL_CLIENT --help < /dev/null
--- NEW FILE: mclient-lmil--help.stable.out ---
stdout of test 'mclient-lmil--help` in directory 'src/tools` itself:
# 16:36:12 >
# 16:36:12 > Mtimeout -timeout 300 ./mclient-lmil--help mclient-lmil--help
# 16:36:12 >
printf("\nReady.\n");
Ready.
quit();
Over..
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 120 ./mclient-lmil--help.MIL.sh
mclient-lmil--help
# 23:46:47 >
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 60 mclient -umonetdb -Pmonetdb
--config=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/etc/MonetDB.conf
--host=corona --port=33349 -lmil --help
# 23:46:47 >
= Please remove this line in case the below usage message of `mclient -lmil` is
correct.
\? - show this message
\<file - read input from file
\>file - save response in file, or stdout if no file is given
\|cmd - pipe result to process, or stop when no command is given
\h - show the readline history
\t - toggle timer
\e - echo the query in sql formatting mode
\f - format using a built-in renderer {csv,tab,raw,sql,xml}
\w# - set maximal page width (-1=raw,0=no limit, >0 max char)
\r# - set maximum rows per page (-1=raw)
\L file - save client/server interaction
\X - trace mclient code
\q - terminate session
mil>
= Please remove this line in case the above usage message of `mclient -lmil` is
correct.
# 23:46:47 >
# 23:46:47 > Done.
# 23:46:47 >
--- NEW FILE: mclient-lmil--help.stable.err ---
stderr of test 'mclient-lmil--help` in directory 'src/tools` itself:
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 240 Mserver
"--config=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/etc/MonetDB.conf"
--debug=10 --set
"monet_mod_path=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/lib64/MonetDB4:/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/lib64/MonetDB4/lib:/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/lib64/MonetDB4/bin"
--set
"gdk_dbfarm=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/var/MonetDB4/dbfarm"
--set
"sql_logdir=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/var/MonetDB
4/sql_logs" --set
"xquery_logdir=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/var/MonetDB4/xquery_logs"
--set mapi_open=true --set xrpc_open=true --set mapi_port=33349 --set
xrpc_port=43831 --set monet_prompt= --trace "--dbname=mTests_src_tools"
--dbinit=" module(mapi); mil_start();" ; echo ; echo Over..
# 23:46:47 >
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 120 ./mclient-lmil--help.MIL.sh
mclient-lmil--help
# 23:46:47 >
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 60 mclient -umonetdb -Pmonetdb
--config=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/etc/MonetDB.conf
--host=corona --port=33349 -lmil --help
# 23:46:47 >
# 23:46:47 >
# 23:46:47 > Done.
# 23:46:47 >
--- NEW FILE: mclient-lmil--help.MIL.bat ---
@echo on
@prompt # $t $g
%MIL_CLIENT% --help < C:nul
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins