Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv18680
Modified Files:
Tag: May2009
All
Added Files:
Tag: May2009
stream-document.SF-2804823.XQUERY.py
stream-document.SF-2804823.stable.err
stream-document.SF-2804823.stable.out
Log Message:
Test for bug 2804823.
U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.136.4.4
retrieving revision 1.136.4.5
diff -u -d -r1.136.4.4 -r1.136.4.5
--- All 25 May 2009 13:15:56 -0000 1.136.4.4
+++ All 11 Jun 2009 13:18:30 -0000 1.136.4.5
@@ -201,6 +201,7 @@
fn-root_fn-id_on_attribute_nodes.SF-1975028
fn-collection_DOES-NOT-EXIST.SF-2664405
unuseable_doc-available.SF-2791704
+stream-document.SF-2804823
#
# 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: stream-document.SF-2804823.XQUERY.py ---
import os, sys
try:
import sybprocess
except ImportError:
# user private copy for old Python versions
import MonetDBtesting.subprocess26 as subprocess
def client(cmd, input = None):
clt = subprocess.Popen(cmd,
shell = True,
stdin = subprocess.PIPE,
stdout = subprocess.PIPE,
stderr = subprocess.PIPE,
universal_newlines = True)
out, err = clt.communicate(input)
sys.stdout.write(out)
sys.stderr.write(err)
def main():
xq_client = os.getenv('XQUERY_CLIENT')
client('%s --input=my-document --collection=my-collection' % xq_client,
'<document>test document</document>')
client('%s -s "pf:documents()"' % xq_client)
client('%s -s "pf:del-doc(\'my-document\')"' % xq_client)
main()
--- NEW FILE: stream-document.SF-2804823.stable.err ---
stderr of test 'stream-document.SF-2804823` in directory 'tests/BugTracker`
itself:
# 15:13:26 >
# 15:13:26 > Mserver "--config=/home/sjoerd/Monet-Stable/etc/MonetDB.conf"
--debug=10 --set gdk_nr_threads=1 --set
"monet_mod_path=/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/home/sjoerd/Monet-Stable/lib64/MonetDB4:/home/sjoerd/Monet-Stable/lib64/MonetDB4/lib:/home/sjoerd/Monet-Stable/lib64/MonetDB4/bin"
--set
"gdk_dbfarm=/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
--set "xrpc_docroot=/home/sjoerd/src/MonetDB/stable/pathfinder/runtime/xrpc"
--set mapi_open=true --set xrpc_open=true --set mapi_port=39340 --set
xrpc_port=41486 --set monet_prompt= --trace "--dbname=mTests_tests_BugTracker"
"--dbinit= module(pathfinder);" ; echo ; echo Over..
# 15:13:26 >
# 15:13:26 >
# 15:13:26 > /usr/bin/python stream-document.SF-2804823.XQUERY.py
stream-document.SF-2804823
# 15:13:26 >
# 15:13:26 >
# 15:13:26 > Done.
# 15:13:26 >
--- NEW FILE: stream-document.SF-2804823.stable.out ---
stdout of test 'stream-document.SF-2804823` in directory 'tests/BugTracker`
itself:
# 15:13:26 >
# 15:13:26 > Mserver "--config=/home/sjoerd/Monet-Stable/etc/MonetDB.conf"
--debug=10 --set gdk_nr_threads=1 --set
"monet_mod_path=/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/home/sjoerd/Monet-Stable/lib64/MonetDB4:/home/sjoerd/Monet-Stable/lib64/MonetDB4/lib:/home/sjoerd/Monet-Stable/lib64/MonetDB4/bin"
--set
"gdk_dbfarm=/home/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
--set "xrpc_docroot=/home/sjoerd/src/MonetDB/stable/pathfinder/runtime/xrpc"
--set mapi_open=true --set xrpc_open=true --set mapi_port=39340 --set
xrpc_port=41486 --set monet_prompt= --trace "--dbname=mTests_tests_BugTracker"
"--dbinit= module(pathfinder);" ; echo ; echo Over..
# 15:13:26 >
# MonetDB Server v4.30.1
# based on GDK v1.30.1
# 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 64bit OIDs; dynamically
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.13.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:41486/admin
printf("\nReady.\n");
Ready.
quit();
Over..
# 15:13:26 >
# 15:13:26 > /usr/bin/python stream-document.SF-2804823.XQUERY.py
stream-document.SF-2804823
# 15:13:26 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="false" url="my-document"
collection="my-collection">my-document</document></XQueryResult>
# 15:13:26 >
# 15:13:26 > Done.
# 15:13:26 >
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins