Update of /cvsroot/monetdb/MonetDB5/src/tools/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2900/MonetDB5/src/tools/Tests
Modified Files:
All
Added Files:
mclient-lmal--help.MAL.bat mclient-lmal--help.MAL.sh
mclient-lmal--help.stable.err mclient-lmal--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/MonetDB5/src/tools/Tests/All,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- All 20 Aug 2007 10:49:47 -0000 1.3
+++ All 30 Aug 2007 00:13:43 -0000 1.4
@@ -5,3 +5,5 @@
stethoscope--help
mchkpnt--help
mrecover--help
+
+mclient-lmal--help
--- NEW FILE: mclient-lmal--help.MAL.sh ---
#!/bin/sh
Mlog -x $MAL_CLIENT --help < /dev/null
--- NEW FILE: mclient-lmal--help.stable.out ---
stdout of test 'mclient-lmal--help` in directory 'src/tools` itself:
# 16:36:12 >
# 16:36:12 > Mtimeout -timeout 300 ./mclient-lmal--help mclient-lmal--help
# 16:36:12 >
printf("\nReady.\n");
Ready.
quit();
Over..
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 120 ./mclient-lmal--help.MAL.sh
mclient-lmal--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 -lmal --help
# 23:46:47 >
= Please remove this line in case the below usage message of `mclient -lmal` is
correct.
\? - show this message
?pat - MAL function help. pat=[modnme[.fcnnme][(][)]] wildcard *
\<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
mal>
= Please remove this line in case the above usage message of `mclient -lmal` is
correct.
# 23:46:47 >
# 23:46:47 > Done.
# 23:46:47 >
--- NEW FILE: mclient-lmal--help.stable.err ---
stderr of test 'mclient-lmal--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); mal_start();" ; echo ; echo Over..
# 23:46:47 >
# 23:46:47 >
# 23:46:47 > Mtimeout -timeout 120 ./mclient-lmal--help.MAL.sh
mclient-lmal--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 -lmal --help
# 23:46:47 >
# 23:46:47 >
# 23:46:47 > Done.
# 23:46:47 >
--- NEW FILE: mclient-lmal--help.MAL.bat ---
@echo on
@prompt # $t $g
%MAL_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