Update of /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12774/src/modules/mal/Tests
Modified Files:
Tag: GDK-2
All
Added Files:
Tag: GDK-2
xml03.stable.err xml03.stable.out xml04.stable.err
xml04.stable.out xml05.mal
Log Message:
propagated changes of Thursday Aug 23 2007 - Friday Aug 24 2007
from the development trunk to the GDK-2 branch
Index: All
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/All,v
retrieving revision 1.38.2.3
retrieving revision 1.38.2.4
diff -u -d -r1.38.2.3 -r1.38.2.4
--- All 23 Aug 2007 13:32:51 -0000 1.38.2.3
+++ All 24 Aug 2007 09:01:27 -0000 1.38.2.4
@@ -42,3 +42,5 @@
xml01
xml02
xml03
+xml04
+xml05
--- NEW FILE: xml04.stable.err ---
stderr of test 'xml04` in directory 'src/modules/mal` itself:
# 23:16:03 >
# 23:16:03 > Mtimeout -timeout 60 mserver5
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set
"xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set
mapi_open=true --set xrpc_open=true --set mapi_port=35136 --set xrpc_port=41906
--set monet_prompt= --trace --dbname=mTests_src_modules_mal xml04.mal
# 23:16:03 >
#warning: please don't forget to set your vault key!
#(see /ufs/mk/monet5/Linux/etc/monetdb5.conf)
# 23:16:03 >
# 23:16:03 > Done.
# 23:16:03 >
--- NEW FILE: xml05.mal ---
b:= bat.new(:oid,:str);
bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker");
bat.insert(b,[EMAIL PROTECTED],"Annie Chapman");
h:= bat.new(:oid,:str);
bat.insert(h,[EMAIL PROTECTED],"brown");
bat.insert(h,[EMAIL PROTECTED],"curly dark brown");
io.print(b);
bs:= xml.xml(b);
bc:= xml.element("name",bs);
aa:= xml.root(bc,"version1.0","no");
as:= xml.str(aa);
io.print(as);
--- NEW FILE: xml04.stable.out ---
stdout of test 'xml04` in directory 'src/modules/mal` itself:
# 23:16:03 >
# 23:16:03 > Mtimeout -timeout 60 mserver5
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set
"xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set
mapi_open=true --set xrpc_open=true --set mapi_port=35136 --set xrpc_port=41906
--set monet_prompt= --trace --dbname=mTests_src_modules_mal xml04.mal
# 23:16:03 >
# MonetDB server v5.1.0, based on kernel v1.19.0
# Serving database 'mTests_src_modules_mal'
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-2007 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://gio.ins.cwi.nl:35136/
#b:= bat.new(:oid,:str);
#bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker");
#bat.insert(b,[EMAIL PROTECTED],"Annie Chapman");
#h:= bat.new(:oid,:str);
#bat.insert(h,[EMAIL PROTECTED],"brown");
#bat.insert(h,[EMAIL PROTECTED],"curly dark brown");
#
#io.print(b);
#
#bs:= xml.xml(b);
#bc:= xml.element("name",bs);
#bj:= xml.str(bc);
#io.print(bj);
#hs:= xml.xml(h);
#hc:= xml.element("hair",hs);
#hj:= xml.str(hc);
#io.print(hj);
#
#aa:= xml.forest(bc,hc);
#as:= xml.str(aa);
#io.print(as);
#
function user.main():void; # 0 (main:void)
b := bat.new(:oid,:str); # 1 CMDBATnew
(b:bat[:oid,:str])<-(_2:oid)(_3:str)
bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker"); # 2 BKCinsert_bun
(_4:void)<-(b:bat[:oid,:str])(_5:oid)(_6:str)
bat.insert(b,[EMAIL PROTECTED],"Annie Chapman"); # 3 BKCinsert_bun
(_7:void)<-(b:bat[:oid,:str])(_8:oid)(_9:str)
h := bat.new(:oid,:str); # 4 CMDBATnew
(h:bat[:oid,:str])<-(_2:oid)(_3:str)
bat.insert(h,[EMAIL PROTECTED],"brown"); # 5 BKCinsert_bun
(_11:void)<-(h:bat[:oid,:str])(_5:oid)(_12:str)
bat.insert(h,[EMAIL PROTECTED],"curly dark brown"); # 6 BKCinsert_bun
(_13:void)<-(h:bat[:oid,:str])(_8:oid)(_14:str)
io.print(b); # 7 IOprint_val (_15:void)<-(b:bat[:oid,:str])
bs := xml.xml(b); # 8 BATXMLstr2xml
(bs:bat[:oid,:xml])<-(b:bat[:oid,:str])
bc := xml.element("name",bs); # 9 BATXMLelementSmall
(bc:bat[:oid,:xml])<-(_18:str)(bs:bat[:oid,:xml])
bj := xml.str(bc); # 10 BATXMLxml2str
(bj:bat[:oid,:str])<-(bc:bat[:oid,:xml])
io.print(bj); # 11 IOprint_val (_20:void)<-(bj:bat[:oid,:str])
hs := xml.xml(h); # 12 BATXMLstr2xml
(hs:bat[:oid,:xml])<-(h:bat[:oid,:str])
hc := xml.element("hair",hs); # 13 BATXMLelementSmall
(hc:bat[:oid,:xml])<-(_23:str)(hs:bat[:oid,:xml])
hj := xml.str(hc); # 14 BATXMLxml2str
(hj:bat[:oid,:str])<-(hc:bat[:oid,:xml])
io.print(hj); # 15 IOprint_val (_25:void)<-(hj:bat[:oid,:str])
aa := xml.forest(bc,hc); # 16 BATXMLforest
(aa:bat[:oid,:xml])<-(bc:bat[:oid,:xml])(hc:bat[:oid,:xml])
as := xml.str(aa); # 17 BATXMLxml2str
(as:bat[:oid,:str])<-(aa:bat[:oid,:xml])
io.print(as); # 18 IOprint_val (_28:void)<-(as:bat[:oid,:str])
end main; # 19
#---------------------------------#
# h t # name
# void str # type
#---------------------------------#
[ [EMAIL PROTECTED], "Mary Ann Walker" ]
[ [EMAIL PROTECTED], "Annie Chapman" ]
#-----------------------------------------#
# h t # name
# void str # type
#-----------------------------------------#
[ [EMAIL PROTECTED], "<name>Mary Ann Walker</name>" ]
[ [EMAIL PROTECTED], "<name>Annie Chapman</name>" ]
#-------------------------------------------------#
# h t # name
# void str # type
#-------------------------------------------------#
[ [EMAIL PROTECTED], "<hair>brown</hair>" ]
[ [EMAIL PROTECTED], "<hair>curly dark brown</hair>" ]
#-------------------------------------------------------------------------#
# h t # name
# void str # type
#-------------------------------------------------------------------------#
[ [EMAIL PROTECTED], "<name>Mary Ann Walker</name><hair>brown</hair>"
]
[ [EMAIL PROTECTED], "<name>Annie Chapman</name><hair>curly dark
brown</hair>" ]
# 23:16:03 >
# 23:16:03 > Done.
# 23:16:03 >
--- NEW FILE: xml03.stable.out ---
stdout of test 'xml03` in directory 'src/modules/mal` itself:
# 22:58:13 >
# 22:58:13 > Mtimeout -timeout 60 mserver5
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set
"xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set
mapi_open=true --set xrpc_open=true --set mapi_port=30843 --set xrpc_port=48688
--set monet_prompt= --trace --dbname=mTests_src_modules_mal xml03.mal
# 22:58:13 >
# MonetDB server v5.1.0, based on kernel v1.19.0
# Serving database 'mTests_src_modules_mal'
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-2007 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://gio.ins.cwi.nl:30843/
#b:= bat.new(:oid,:str);
#bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker");
#bat.insert(b,[EMAIL PROTECTED],"Annie Chapman");
#h:= bat.new(:oid,:str);
#bat.insert(h,[EMAIL PROTECTED],"brown");
#bat.insert(h,[EMAIL PROTECTED],"curly dark brown");
#
#io.print(b);
#
#bs:= xml.xml(b);
#bc:= xml.element("name",bs);
#bj:= xml.str(bc);
#io.print(bj);
#hs:= xml.xml(h);
#hc:= xml.element("hair",hs);
#hj:= xml.str(hc);
#io.print(hj);
#
#hh:= xml.concat(bc,hc);
#
#aa:= xml.element("victim",hh);
#as:= xml.str(aa);
#io.print(as);
#
function user.main():void; # 0 (main:void)
b := bat.new(:oid,:str); # 1 CMDBATnew
(b:bat[:oid,:str])<-(_2:oid)(_3:str)
bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker"); # 2 BKCinsert_bun
(_4:void)<-(b:bat[:oid,:str])(_5:oid)(_6:str)
bat.insert(b,[EMAIL PROTECTED],"Annie Chapman"); # 3 BKCinsert_bun
(_7:void)<-(b:bat[:oid,:str])(_8:oid)(_9:str)
h := bat.new(:oid,:str); # 4 CMDBATnew
(h:bat[:oid,:str])<-(_2:oid)(_3:str)
bat.insert(h,[EMAIL PROTECTED],"brown"); # 5 BKCinsert_bun
(_11:void)<-(h:bat[:oid,:str])(_5:oid)(_12:str)
bat.insert(h,[EMAIL PROTECTED],"curly dark brown"); # 6 BKCinsert_bun
(_13:void)<-(h:bat[:oid,:str])(_8:oid)(_14:str)
io.print(b); # 7 IOprint_val (_15:void)<-(b:bat[:oid,:str])
bs := xml.xml(b); # 8 BATXMLstr2xml
(bs:bat[:oid,:xml])<-(b:bat[:oid,:str])
bc := xml.element("name",bs); # 9 BATXMLelementSmall
(bc:bat[:oid,:xml])<-(_18:str)(bs:bat[:oid,:xml])
bj := xml.str(bc); # 10 BATXMLxml2str
(bj:bat[:oid,:str])<-(bc:bat[:oid,:xml])
io.print(bj); # 11 IOprint_val (_20:void)<-(bj:bat[:oid,:str])
hs := xml.xml(h); # 12 BATXMLstr2xml
(hs:bat[:oid,:xml])<-(h:bat[:oid,:str])
hc := xml.element("hair",hs); # 13 BATXMLelementSmall
(hc:bat[:oid,:xml])<-(_23:str)(hs:bat[:oid,:xml])
hj := xml.str(hc); # 14 BATXMLxml2str
(hj:bat[:oid,:str])<-(hc:bat[:oid,:xml])
io.print(hj); # 15 IOprint_val (_25:void)<-(hj:bat[:oid,:str])
hh := xml.concat(bc,hc); # 16 BATXMLconcat
(hh:bat[:oid,:xml])<-(bc:bat[:oid,:xml])(hc:bat[:oid,:xml])
aa := xml.element("victim",hh); # 17 BATXMLelementSmall
(aa:bat[:oid,:xml])<-(_28:str)(hh:bat[:oid,:xml])
as := xml.str(aa); # 18 BATXMLxml2str
(as:bat[:oid,:str])<-(aa:bat[:oid,:xml])
io.print(as); # 19 IOprint_val (_30:void)<-(as:bat[:oid,:str])
end main; # 20
#---------------------------------#
# h t # name
# void str # type
#---------------------------------#
[ [EMAIL PROTECTED], "Mary Ann Walker" ]
[ [EMAIL PROTECTED], "Annie Chapman" ]
#-----------------------------------------#
# h t # name
# void str # type
#-----------------------------------------#
[ [EMAIL PROTECTED], "<name>Mary Ann Walker</name>" ]
[ [EMAIL PROTECTED], "<name>Annie Chapman</name>" ]
#-------------------------------------------------#
# h t # name
# void str # type
#-------------------------------------------------#
[ [EMAIL PROTECTED], "<hair>brown</hair>" ]
[ [EMAIL PROTECTED], "<hair>curly dark brown</hair>" ]
#-----------------------------------------------------------------------------------------#
# h t
# name
# void str
# type
#-----------------------------------------------------------------------------------------#
[ [EMAIL PROTECTED], "<victim><name>Mary Ann
Walker</name><hair>brown</hair></victim>" ]
[ [EMAIL PROTECTED], "<victim><name>Annie Chapman</name><hair>curly dark
brown</hair></victim>" ]
# 22:58:13 >
# 22:58:13 > Done.
# 22:58:13 >
--- NEW FILE: xml03.stable.err ---
stderr of test 'xml03` in directory 'src/modules/mal` itself:
# 22:58:13 >
# 22:58:13 > Mtimeout -timeout 60 mserver5
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set
"xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set
mapi_open=true --set xrpc_open=true --set mapi_port=30843 --set xrpc_port=48688
--set monet_prompt= --trace --dbname=mTests_src_modules_mal xml03.mal
# 22:58:13 >
#warning: please don't forget to set your vault key!
#(see /ufs/mk/monet5/Linux/etc/monetdb5.conf)
# 22:58:13 >
# 22:58:13 > Done.
# 22:58:13 >
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins