Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10212
Modified Files:
Tag: XQuery_0-16
All
Added Files:
Tag: XQuery_0-16
test_lms_and.dbinit test_lms_and.modules
test_lms_and.stable.err test_lms_and.stable.out
test_lms_and.xq test_lms_or.dbinit test_lms_or.modules
test_lms_or.stable.err test_lms_or.stable.out test_lms_or.xq
Log Message:
PF/Tijah: added and approved tests for "and" and "or" in NEXI queries
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/All,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -u -d -r1.4.2.2 -r1.4.2.3
--- All 19 Feb 2007 11:10:36 -0000 1.4.2.2
+++ All 19 Feb 2007 11:57:22 -0000 1.4.2.3
@@ -12,4 +12,6 @@
qmapi1
test_lms_returnall
test_lms_returnmatching
+test_lms_and
+test_lms_or
cleanup
--- NEW FILE: test_lms_or.xq ---
let $opt := <TijahOptions
collection="thesis"
txtmodel_model="LMS"
txtmodel_returnall="false"
debug="0"/>
return pf:tijah-query($opt,(),"//title[about(.,pathfinder) or about(.,tijah)]")
--- NEW FILE: test_lms_and.stable.out ---
stdout of test 'test_lms_and` in directory 'modules/pftijah` itself:
# 12:52:36 >
# 12:52:36 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=32638 --set xrpc_port=48622 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:52:36 >
# Monet Database Server V4.16.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-suse-linux/64bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
printf("\nReady.\n");
Ready.
quit();
Over..
# 12:52:36 >
# 12:52:36 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=32638 test_lms_and.xq
# 12:52:36 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><title>Pathfinder and TIJAH</title></XQueryResult>
# 12:52:37 >
# 12:52:37 > Done.
# 12:52:37 >
--- NEW FILE: test_lms_and.modules ---
pftijah
--- NEW FILE: test_lms_and.xq ---
let $opt := <TijahOptions
collection="thesis"
txtmodel_model="LMS"
txtmodel_returnall="false"
debug="0"/>
return pf:tijah-query($opt,(),"//title[about(.,pathfinder) and about(.,TIJAH)]")
--- NEW FILE: test_lms_and.stable.err ---
stderr of test 'test_lms_and` in directory 'modules/pftijah` itself:
# 12:52:36 >
# 12:52:36 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=32638 --set xrpc_port=48622 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:52:36 >
# builtin opt gdk_arch = 64bitx86_64-suse-linux
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 5600
# builtin opt prefix = /local/os/MonetDB
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_mem_bigsize = 262144
# builtin opt gdk_vm_minsize = 137438953472
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix = /local/os/MonetDB
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix = /local/os/MonetDB
# config opt exec_prefix = ${prefix}
# config opt datadir = ${prefix}/share
# config opt gdk_dbfarm = ${prefix}/var/MonetDB4/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_admin = adm
# config opt monet_prompt = MonetDB>
# config opt monet_welcome = yes
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB4:${exec_prefix}/lib/MonetDB4/lib:${exec_prefix}/lib/MonetDB4/bin
# config opt monet_daemon = no
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt mapi_debug = 0
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB4/sql_logs
# config opt xquery_output = dm
# config opt xquery_cacheMB = 100
# config opt xquery_cacherules =
# config opt xquery_procMB = 128
# config opt xquery_logdir = ${prefix}/var/MonetDB4/xquery_logs
# config opt xrpc_port =
# config opt xrpc_open = yes
# config opt xrpc_admin = 127.0.0.1
# config opt xrpc_trusted =
http://monetdb.cwi.nl;${prefix}/share/MonetDB/www/export
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# cmdline opt config = /local/os/MonetDB/etc/MonetDB.conf
# cmdline opt gdk_debug = 10
# cmdline opt monet_mod_path =
/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm = /local/os/MonetDB/var/MonetDB4/dbfarm
# cmdline opt sql_logdir = /local/os/MonetDB/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir = /local/os/MonetDB/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 32638
# cmdline opt xrpc_port = 48622
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_modules_pftijah
# 12:52:36 >
# 12:52:36 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=32638 test_lms_and.xq
# 12:52:36 >
# 12:52:37 >
# 12:52:37 > Done.
# 12:52:37 >
--- NEW FILE: test_lms_or.stable.out ---
stdout of test 'test_lms_or` in directory 'modules/pftijah` itself:
# 12:52:37 >
# 12:52:37 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=32638 --set xrpc_port=48622 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:52:37 >
# Monet Database Server V4.16.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-suse-linux/64bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
printf("\nReady.\n");
Ready.
quit();
Over..
# 12:52:37 >
# 12:52:37 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=32638 test_lms_or.xq
# 12:52:37 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><title>Pathfinder and
TIJAH</title><title>TIJAH</title><title>Pathfinder</title><title>PF/Tijah</title></XQueryResult>
# 12:52:37 >
# 12:52:37 > Done.
# 12:52:37 >
--- NEW FILE: test_lms_or.dbinit ---
module(pathfinder);module(pftijah);
--- NEW FILE: test_lms_or.modules ---
pftijah
--- NEW FILE: test_lms_and.dbinit ---
module(pathfinder);module(pftijah);
--- NEW FILE: test_lms_or.stable.err ---
stderr of test 'test_lms_or` in directory 'modules/pftijah` itself:
# 12:52:37 >
# 12:52:37 > Mtimeout -timeout 180 Mserver
"--config=/local/os/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/os/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/os/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/os/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=32638 --set xrpc_port=48622 --set monet_prompt= --trace
"--dbname=mTests_modules_pftijah" --dbinit="module(pathfinder);module(pftijah);
module(pathfinder);" ; echo ; echo Over..
# 12:52:37 >
# builtin opt gdk_arch = 64bitx86_64-suse-linux
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 5618
# builtin opt prefix = /local/os/MonetDB
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_mem_bigsize = 262144
# builtin opt gdk_vm_minsize = 137438953472
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix = /local/os/MonetDB
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix = /local/os/MonetDB
# config opt exec_prefix = ${prefix}
# config opt datadir = ${prefix}/share
# config opt gdk_dbfarm = ${prefix}/var/MonetDB4/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_admin = adm
# config opt monet_prompt = MonetDB>
# config opt monet_welcome = yes
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB4:${exec_prefix}/lib/MonetDB4/lib:${exec_prefix}/lib/MonetDB4/bin
# config opt monet_daemon = no
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt mapi_debug = 0
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB4/sql_logs
# config opt xquery_output = dm
# config opt xquery_cacheMB = 100
# config opt xquery_cacherules =
# config opt xquery_procMB = 128
# config opt xquery_logdir = ${prefix}/var/MonetDB4/xquery_logs
# config opt xrpc_port =
# config opt xrpc_open = yes
# config opt xrpc_admin = 127.0.0.1
# config opt xrpc_trusted =
http://monetdb.cwi.nl;${prefix}/share/MonetDB/www/export
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# cmdline opt config = /local/os/MonetDB/etc/MonetDB.conf
# cmdline opt gdk_debug = 10
# cmdline opt monet_mod_path =
/local/os/MonetDB/lib/MonetDB4:/local/os/MonetDB/lib/MonetDB4/lib:/local/os/MonetDB/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm = /local/os/MonetDB/var/MonetDB4/dbfarm
# cmdline opt sql_logdir = /local/os/MonetDB/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir = /local/os/MonetDB/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 32638
# cmdline opt xrpc_port = 48622
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_modules_pftijah
# 12:52:37 >
# 12:52:37 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=32638 test_lms_or.xq
# 12:52:37 >
# 12:52:37 >
# 12:52:37 > Done.
# 12:52:37 >
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins