Update of /cvsroot/monetdb/pathfinder/src/tools/Tests
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2900/pathfinder/src/tools/Tests

Added Files:
        All mclient-lxquery--help.XQUERY.bat 
        mclient-lxquery--help.XQUERY.sh 
        mclient-lxquery--help.stable.err 
        mclient-lxquery--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).


--- NEW FILE: mclient-lxquery--help.stable.err ---
stderr of test 'mclient-lxquery--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 
"xquery_logdir=/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--enable-debug/var/Mone
 tDB4/xquery_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); xquery_start();" ; echo ; echo Over..
# 23:46:47 >  


# 23:46:47 >  
# 23:46:47 >  Mtimeout -timeout 120 ./mclient-lxquery--help.XQUERY.sh 
mclient-lxquery--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 -lxquery --help
# 23:46:47 >  


# 23:46:47 >  
# 23:46:47 >  Done.
# 23:46:47 >  


--- NEW FILE: mclient-lxquery--help.stable.out ---
stdout of test 'mclient-lxquery--help` in directory 'src/tools` itself:


# 16:36:12 >  
# 16:36:12 >  Mtimeout -timeout 300 ./mclient-lxquery--help 
mclient-lxquery--help 
# 16:36:12 >  


printf("\nReady.\n");

Ready.
quit();

Over..

# 23:46:47 >  
# 23:46:47 >  Mtimeout -timeout 120 ./mclient-lxquery--help.XQUERY.sh 
mclient-lxquery--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 -lxquery --help
# 23:46:47 >  

= Please remove this line in case the below usage message of `mclient -lxquery` 
is correct.
mclient interactive MonetDB/XQuery session: type an XQuery or XQUF update.
 
Supported document-management XQuery extensions:
 pf:collections() as node()
 pf:documents($collectionName as xs:string) as node()
 pf:del-doc($documentName as xs:string)
 pf:add-doc($uri as xs:string, $documentName as xs:string
     [,$collectionName as xs:string [,$freePercentage as xs:integer]])
 
Session commands:
<>       - send query to server (or CTRL-D)
\?      - 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
\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
xquery>
= Please remove this line in case the above usage message of `mclient -lxquery` 
is correct.

# 23:46:47 >  
# 23:46:47 >  Done.
# 23:46:47 >  


--- NEW FILE: mclient-lxquery--help.XQUERY.sh ---
#!/bin/sh

Mlog -x $XQUERY_CLIENT --help < /dev/null

--- NEW FILE: mclient-lxquery--help.XQUERY.bat ---
@echo on
@prompt # $t $g  

        %XQUERY_CLIENT% --help < C:nul

--- NEW FILE: All ---
mclient-lxquery--help


-------------------------------------------------------------------------
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-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to