Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22207/tests/BugTracker/Tests

Modified Files:
        All 
Added Files:
        replace-corrupts.SF-1758902.stable.err 
        replace-corrupts.SF-1758902.stable.out 
        replace-corrupts.SF-1758902.xml 
        replace-corrupts.SF-1758902.xq.in 
Log Message:
propagated changes of Thursday Jul 26 2007
from the XQuery_0-18 branch to the development trunk


--- NEW FILE: replace-corrupts.SF-1758902.stable.out ---
stdout of test 'replace-corrupts.SF-1758902` in directory 'tests/BugTracker` 
itself:


# 13:02:09 >  
# 13:02:09 >  Mtimeout -timeout 180  Mserver 
"--config=/ufs/sjoerd/Monet-Stable/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/ufs/sjoerd/src/MonetDB/stable/pathfinder/runtime:/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/ufs/sjoerd/src/MonetDB/stable/pathfinder/modules/pftijah:/ufs/sjoerd/Monet-Stable/lib64/MonetDB4:/ufs/sjoerd/Monet-Stable/lib64/MonetDB4/lib:/ufs/sjoerd/Monet-Stable/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
 --set 
"sql_logdir=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/sql_logs"
 --set 
"xquery_logdir=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/xquery_logs"
 --set
  mapi_open=true --set mapi_port=36134 --set xrpc_port=41401 --set 
monet_prompt= --trace "--dbname=mTests_tests_BugTracker" --dbinit=" 
module(pathfinder);" ; echo ; echo Over..
# 13:02:09 >  

# Monet Database Server V4.18.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# XRPC administrative console at http://localhost:41401/admin

printf("\nReady.\n");

Ready.
quit();

Over..

# 13:02:10 >  
# 13:02:10 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=hirundo --port=36134 replace-corrupts.SF-1758902.xq
# 13:02:10 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><notes>
<objectnote user="hans" unixtime="1180000000" xid="4">This is my first 
note</objectnote>
</notes></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><notes>
<objectnote user="hans" unixtime="1180000000" xid="4">This is my first 
note</objectnote>
</notes></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><notes>
<objectnote user="hans" unixtime="1180000000" xid="4">This is my first 
note</objectnote>
<objectnote unixtime="1185198696" user="unknown" 
xid="14">nootje<original/></objectnote></notes></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><notes>
<objectnote user="hans" unixtime="1180000000" xid="4">This is my first 
note</objectnote>
<objectnote xid="14" user="unknown" unixtime="1185198696">nootje, 
pinda<original></original></objectnote></notes></XQueryResult>

# 13:02:10 >  
# 13:02:10 >  Done.
# 13:02:10 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- All 24 Jul 2007 16:42:17 -0000      1.72
+++ All 26 Jul 2007 13:34:39 -0000      1.73
@@ -122,3 +122,4 @@
 error_in_preceeding_axis.SF-1731850
 attribute_serialization.SF-1743442
 merged-union_error_with_fn-sum.SF-1751684
+replace-corrupts.SF-1758902

--- NEW FILE: replace-corrupts.SF-1758902.stable.err ---
stderr of test 'replace-corrupts.SF-1758902` in directory 'tests/BugTracker` 
itself:


# 13:02:09 >  
# 13:02:09 >  Mtimeout -timeout 180  Mserver 
"--config=/ufs/sjoerd/Monet-Stable/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/ufs/sjoerd/src/MonetDB/stable/pathfinder/runtime:/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/ufs/sjoerd/src/MonetDB/stable/pathfinder/modules/pftijah:/ufs/sjoerd/Monet-Stable/lib64/MonetDB4:/ufs/sjoerd/Monet-Stable/lib64/MonetDB4/lib:/ufs/sjoerd/Monet-Stable/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
 --set 
"sql_logdir=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/sql_logs"
 --set 
"xquery_logdir=/ufs/sjoerd/src/MonetDB/stable/pathfinder/x86_64-unknown-linux-gnu/xquery_logs"
 --set
  mapi_open=true --set mapi_port=36134 --set xrpc_port=41401 --set 
monet_prompt= --trace "--dbname=mTests_tests_BugTracker" --dbinit=" 
module(pathfinder);" ; echo ; echo Over..
# 13:02:09 >  


# 13:02:10 >  
# 13:02:10 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=hirundo --port=36134 replace-corrupts.SF-1758902.xq
# 13:02:10 >  


# 13:02:10 >  
# 13:02:10 >  Done.
# 13:02:10 >  


--- NEW FILE: replace-corrupts.SF-1758902.xq.in ---
pf:add-doc("$TSTSRCDIR/replace-corrupts.SF-1758902.xml", 
"notes_consumer02.xml", "notes_consumer02.xml", 10)
<>
doc("notes_consumer02.xml")
<>
let $doc := doc("notes_consumer02.xml") return $doc
<>
let $doc := doc("notes_consumer02.xml")
let $orig := $doc/notes/[EMAIL PROTECTED]"14"]
let $on := element objectnote { attribute xid {"14"}, attribute user 
{"unknown"}, attribute unixtime {"1185198696"}, text {"nootje"}, element 
original { $orig } }
return if (exists($orig)) then (do replace $orig with $on) else (do insert $on 
as last into $doc/notes)
<>
let $doc := doc("notes_consumer02.xml") return $doc
<>
let $doc := doc("notes_consumer02.xml")
let $orig := $doc/notes/[EMAIL PROTECTED]"14"]
let $on := element objectnote { attribute xid {"14"}, attribute user 
{"unknown"}, attribute unixtime {"1185198696"}, text {"nootje, pinda"}, element 
original { $orig } }
return if (exists($orig)) then (do replace $orig with $on) else (do insert $on 
as last into $doc/notes)
<>
let $doc := doc("notes_consumer02.xml") return $doc

--- NEW FILE: replace-corrupts.SF-1758902.xml ---
<?xml version="1.0" encoding="utf-8"?>
<notes>
<objectnote xid="4" unixtime="1180000000" user="hans">This is my first 
note</objectnote>
</notes>


-------------------------------------------------------------------------
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