Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15522

Modified Files:
        All collection-naming.SF-1590782.milS 
        collection-naming.SF-1590782.stable.out 
Added Files:
        pf_docname.SF-2418722.stable.err 
        pf_docname.SF-2418722.stable.out pf_docname.SF-2418722.xq 
Log Message:
add new test for SF-2418722
(and adapt collection-naming to make it slightly more interesting)



U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- All 7 Apr 2009 11:16:57 -0000       1.135
+++ All 18 Apr 2009 16:26:13 -0000      1.136
@@ -67,6 +67,7 @@
 insert_multiple.SF-1590580
 inserting_multiple_elements.SF-1590583
 collection-naming.SF-1590782
+pf_docname.SF-2418722
 if-condition_testing_empty_sequence.SF-1589820
 update_error.SF-1579510
 path_steps_with_name_tests_on_transsient_nodes.SF-1610247.alg

U collection-naming.SF-1590782.milS
Index: collection-naming.SF-1590782.milS
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/collection-naming.SF-1590782.milS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- collection-naming.SF-1590782.milS   5 Nov 2006 18:22:45 -0000       1.1
+++ collection-naming.SF-1590782.milS   18 Apr 2009 16:26:13 -0000      1.2
@@ -7,3 +7,4 @@
 shred_doc(TSTSRCDIR+"/"+TST+".xml","mies.xml","aap2",50LL);
 shred_doc(TSTSRCDIR+"/"+TST+".xml","noot.xml","aap2",50LL);
 shred_doc(TSTSRCDIR+"/"+TST+".xml","noot.xml","aap1",50LL);
+shred_doc(TSTSRCDIR+"/"+TST+".xml","aap.xml","aap1",50LL);

--- NEW FILE: pf_docname.SF-2418722.stable.err ---
stderr of test 'pf_docname.SF-2418722` in directory 'tests/BugTracker` itself:


# 18:20:25 >  
# 18:20:25 >   Mserver "--config=/home/users/boncz/monet/etc/MonetDB.conf" 
--debug=10 --set gdk_nr_threads=1 --set 
"monet_mod_path=/home/users/boncz/monet/lib/MonetDB4:/home/users/boncz/monet/lib/MonetDB4/lib:/home/users/boncz/monet/lib/MonetDB4/bin"
 --set "gdk_dbfarm=/home/users/boncz/monet/var/MonetDB4/dbfarm"  --set 
"xquery_logdir=xquery_logs" --set mapi_open=true --set xrpc_open=true --set 
mapi_port=30576 --set xrpc_port=43748 --set monet_prompt= --trace  
"--dbname=mTests_tests_BugTracker" "--dbinit= module(pathfinder);" ; echo ; 
echo Over..
# 18:20:25 >  


# 18:20:26 >  
# 18:20:26 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=tscan 
--port=30576 pf_docname.SF-2418722.xq
# 18:20:26 >  


# 18:20:26 >  
# 18:20:26 >  Done.
# 18:20:26 >  


--- NEW FILE: pf_docname.SF-2418722.xq ---
for $d in pf:collection("aap1")/node() return pf:docname($d)

--- NEW FILE: pf_docname.SF-2418722.stable.out ---
stdout of test 'pf_docname.SF-2418722` in directory 'tests/BugTracker` itself:


# 18:20:25 >  
# 18:20:25 >   Mserver "--config=/home/users/boncz/monet/etc/MonetDB.conf" 
--debug=10 --set gdk_nr_threads=1 --set 
"monet_mod_path=/home/users/boncz/monet/lib/MonetDB4:/home/users/boncz/monet/lib/MonetDB4/lib:/home/users/boncz/monet/lib/MonetDB4/bin"
 --set "gdk_dbfarm=/home/users/boncz/monet/var/MonetDB4/dbfarm"  --set 
"xquery_logdir=xquery_logs" --set mapi_open=true --set xrpc_open=true --set 
mapi_port=30576 --set xrpc_port=43748 --set monet_prompt= --trace  
"--dbname=mTests_tests_BugTracker" "--dbinit= module(pathfinder);" ; echo ; 
echo Over..
# 18:20:25 >  

# MonetDB Server v4.29.0
# based on GDK   v1.29.0
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 32bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.28.3 loaded (default back-end is 'algebra')
# XRPC administrative console at http://127.0.0.1:43748/admin

printf("\nReady.\n");

Ready.
quit();

Over..

# 18:20:26 >  
# 18:20:26 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=tscan 
--port=30576 pf_docname.SF-2418722.xq
# 18:20:26 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult>mies.xml aap.xml</XQueryResult>

# 18:20:26 >  
# 18:20:26 >  Done.
# 18:20:26 >  


U collection-naming.SF-1590782.stable.out
Index: collection-naming.SF-1590782.stable.out
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/collection-naming.SF-1590782.stable.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- collection-naming.SF-1590782.stable.out     5 Nov 2006 18:22:45 -0000       
1.1
+++ collection-naming.SF-1590782.stable.out     18 Apr 2009 16:26:13 -0000      
1.2
@@ -26,6 +26,10 @@
 # Shredded 1 XML document (noot.xml), total time after commit=0.148s
 shred_doc(TSTSRCDIR+"/"+TST+".xml","noot.xml","aap1",50LL);
 !ERROR: shred_doc: document noot.xml already exists in collection aap2 (1 such 
errors)!
+shred_doc(TSTSRCDIR+"/"+TST+".xml","aap.xml","aap1",50LL);
+# shredding with holes: pagesize=16384, #fillsize=8192
+# Elapsed time = 228us [032us/node]
+# Shredded 1 XML document (aap.xml), total time after commit=0.007s
 quit();
 
 # 19:10:14 >  


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to