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

Modified Files:
      Tag: Feb2009
        All 
Added Files:
      Tag: Feb2009
        Parse_error_with_pf:collection.SF-2020631.stable.err 
        Parse_error_with_pf:collection.SF-2020631.stable.out 
        Parse_error_with_pf:collection.SF-2020631.xq.in 
Log Message:

added test for
[ 2020631 ] Parse error with pf:collection
https://sourceforge.net/tracker/index.php?func=detail&aid=2020631&group_id=56967&atid=482468
appears to work fine.


--- NEW FILE: Parse_error_with_pf:collection.SF-2020631.xq.in ---
pf:add-doc("$TSTSRCDIR/hello.xml","sample1","samples")
<>
pf:add-doc("$TSTSRCDIR/hello.xml","sample2","samples")
<>
<average> {
fn:round(fn:avg(
fn:collection("samples")/example/@sum
)) } </average>
<>
<average> {
fn:round(fn:avg(
pf:collection("samples")/child::document-node()/example/@sum
)) } </average>
<>
let $avg := pf:collection("samples")/child::document-node()/example/@sum
return <average> {
fn:round(fn:avg(
$avg
)) } </average>
<>
pf:del-doc("sample2")
<>
pf:del-doc("sample1")

U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.123.2.7
retrieving revision 1.123.2.8
diff -u -d -r1.123.2.7 -r1.123.2.8
--- All 16 Feb 2009 22:08:51 -0000      1.123.2.7
+++ All 16 Feb 2009 23:56:16 -0000      1.123.2.8
@@ -185,6 +185,7 @@
 ebv.SF-2474519
 side-effects.SF-2124300
 query_compilation_item3.SF-2130051
+Parse_error_with_pf:collection.SF-2020631
 #
 # Test "Zombie_document.SF-2009556" currently seems to corrupt the database 
and hence should be last in this list! 
 Zombie_document.SF-2009556

--- NEW FILE: Parse_error_with_pf:collection.SF-2020631.stable.err ---
stderr of test 'Parse_error_with_pf:collection.SF-2020631` in directory 
'tests/BugTracker` itself:


# 00:42:41 >  
# 00:42:41 >   Mserver 
"--config=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/etc/MonetDB.conf"
 --debug=10 --set gdk_nr_threads=1 --set 
"monet_mod_path=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/lib64/MonetDB4:/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/lib64/MonetDB4/lib:/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/var/MonetDB4/dbfarm"
 --set 
"sql_logdir=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/var/MonetDB4/sql_logs"
 --set 
"xquery_logdir=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/var/MonetDB4/xquery_logs"
 --set 
"xrpc_docroot=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/share/MonetDB/xrpc"
 --set mapi_open=true --set xrpc_open=true --set mapi_port=31173 --set 
xrpc_port=46664 --set 
xrpc_docroot=/net/rig.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Stable/source/pathfinder
 --set monet_prompt= --trace  "--dbname=mTests_tests_BugTracker" --set 
xquery_backend=milprint_summer "--dbinit= module(pathfinder);" ; echo ; echo 
Over..
# 00:42:41 >  


# 00:42:42 >  
# 00:42:42 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=rig 
--port=31173 -g Parse_error_with_pf:collection.SF-2020631.xq
# 00:42:42 >  


# 00:42:43 >  
# 00:42:43 >  Done.
# 00:42:43 >  


--- NEW FILE: Parse_error_with_pf:collection.SF-2020631.stable.out ---
stdout of test 'Parse_error_with_pf:collection.SF-2020631` in directory 
'tests/BugTracker` itself:


# 00:42:41 >  
# 00:42:41 >   Mserver 
"--config=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/etc/MonetDB.conf"
 --debug=10 --set gdk_nr_threads=1 --set 
"monet_mod_path=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/lib64/MonetDB4:/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/lib64/MonetDB4/lib:/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/var/MonetDB4/dbfarm"
 --set 
"sql_logdir=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/var/MonetDB4/sql_logs"
 --set 
"xquery_logdir=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/var/MonetDB4/xquery_logs"
 --set 
"xrpc_docroot=/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-debug_--enable-optimize_--enable-assert/share/MonetDB/xrpc"
 --set mapi_open=true --set xrpc_open=true --set mapi_port=31173 --set 
xrpc_port=46664 --set 
xrpc_docroot=/net/rig.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Stable/source/pathfinder
 --set monet_prompt= --trace  "--dbname=mTests_tests_BugTracker" --set 
xquery_backend=milprint_summer "--dbinit= module(pathfinder);" ; echo ; echo 
Over..
# 00:42:41 >  

# MonetDB Server v4.28.0
# based on GDK   v1.28.0
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit 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.0 loaded (default back-end is 'milprint_summer')
# XRPC administrative console at http://127.0.0.1:46664/admin

printf("\nReady.\n");

Ready.
quit();

Over..

# 00:42:42 >  
# 00:42:42 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=rig 
--port=31173 -g Parse_error_with_pf:collection.SF-2020631.xq
# 00:42:42 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><average/></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><average/></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><average/></XQueryResult>

# 00:42:43 >  
# 00:42:43 >  Done.
# 00:42:43 >  



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to