Update of /cvsroot/monetdb/MonetDB5/src/mal/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26665/src/mal/Tests

Modified Files:
      Tag: GDK-2
        All tst040.mal tst040.stable.out tst450.stable.out 
Added Files:
      Tag: GDK-2
        tst840.mal tst840.stable.err tst840.stable.out 
Log Message:
propagated changes of Friday Aug 17 2007 - Tuesday Aug 21 2007
from the development trunk to the GDK-2 branch


--- NEW FILE: tst840.stable.out ---
stdout of test 'tst840` in directory 'src/mal` itself:


# 13:50:41 >  
# 13:50:41 >  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=37742 --set xrpc_port=41258 
--set monet_prompt= --trace --dbname=mTests_src_mal  tst840.mal
# 13:50:41 >  

# MonetDB server v5.1.0, based on kernel v1.19.0
# Serving database 'mTests_src_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:37742/
## raw IO may screw up the front-end
#s:= "\nline1\n\
#io.printf("%s",s);
#
function user.main():void;      # 0  (main:void)
# raw IO may screw up the front-end     # 1  (_1:str)
    s := " \nline1\n\nline2\n"; # 2  (s:str)<-(_3:str)
    io.printf("----\n");        # 3 IOprint_str (_4:void)<-(_5:str)
    io.printf("%s",s);  # 4 IOprint_formatted_str (_6:void)<-(_7:str)(s:str)
    io.printf("----\n");        # 5 IOprint_str (_8:void)<-(_5:str)
end main;       # 6  
----
 
line1

line2
----

# 13:50:41 >  
# 13:50:41 >  Done.
# 13:50:41 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/Tests/All,v
retrieving revision 1.89
retrieving revision 1.89.2.1
diff -u -d -r1.89 -r1.89.2.1
--- All 14 Jun 2007 19:17:45 -0000      1.89
+++ All 21 Aug 2007 13:23:55 -0000      1.89.2.1
@@ -189,6 +189,7 @@
 tst804
 tst820
 tst830
+tst840
 tst850
 tst870
 tst890

Index: tst040.mal
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/Tests/tst040.mal,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- tst040.mal  30 Jun 2007 10:28:38 -0000      1.3
+++ tst040.mal  21 Aug 2007 13:23:55 -0000      1.3.2.1
@@ -8,6 +8,11 @@
 w      := 32767;
 b      := 125;
 
+c1  :='a';             io.print(c1);
+c2  :='\n';            io.print(c2);
+c3  :='\t';            io.print(c3);
+c4  :='\012';  io.print(c4);
+
 # test for coercion errors
 x0  := "1":int; io.print(x0);
 x1  := 3.2:int; io.print(x1);

--- NEW FILE: tst840.stable.err ---
stderr of test 'tst840` in directory 'src/mal` itself:


# 13:50:41 >  
# 13:50:41 >  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=37742 --set xrpc_port=41258 
--set monet_prompt= --trace --dbname=mTests_src_mal  tst840.mal
# 13:50:41 >  

#warning: please don't forget to set your vault key!
#(see /ufs/mk/monet5/Linux/etc/monetdb5.conf)

# 13:50:41 >  
# 13:50:41 >  Done.
# 13:50:41 >  


--- NEW FILE: tst840.mal ---
# raw IO may screw up the front-end
s:= " \nline1\n\
line2\n";
io.printf("----\n");
io.printf("%s",s);
io.printf("----\n");

Index: tst450.stable.out
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/Tests/tst450.stable.out,v
retrieving revision 1.189.2.1
retrieving revision 1.189.2.2
diff -u -d -r1.189.2.1 -r1.189.2.2
--- tst450.stable.out   10 Aug 2007 17:36:52 -0000      1.189.2.1
+++ tst450.stable.out   21 Aug 2007 13:23:56 -0000      1.189.2.2
@@ -71,8 +71,9 @@
 [ 26,    "timezone"      ]
 [ 27,    "zrule"         ]
 [ 28,    "inet"          ]
-[ 29,    "mapentry"      ]
-[ 30,    "idxentry"      ]
+[ 29,    "xml"           ]
+[ 30,    "mapentry"      ]
+[ 31,    "idxentry"      ]
 #-------------------------#
 # t    h                 # name
 # oid  str               # type
@@ -131,6 +132,7 @@
 [ "unix",        nil     ]
 [ "url",         nil     ]
 [ "user",        nil     ]
+[ "xml",         nil     ]
 [ "zrule",       nil     ]
 command bat.insert(b:bat[:any_1,:any_2],h:any_1,t:any_2,force:bit):void 
address BKCinsert_bun_force;
 #Insert one BUN[h,t] in a BAT.

Index: tst040.stable.out
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/Tests/tst040.stable.out,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -d -r1.14 -r1.14.2.1
--- tst040.stable.out   4 Jul 2007 06:03:55 -0000       1.14
+++ tst040.stable.out   21 Aug 2007 13:23:56 -0000      1.14.2.1
@@ -31,17 +31,29 @@
     i := true; # 6  (i:bit)<-(_10:bit)
     w := 32767;        # 7  (w:int)<-(_12:int)
     b := 125;  # 8  (b:int)<-(_14:int)
-# test for coercion errors     # 9  (_15:str)
-    x0 := 1:int;       # 10  (x0:int)<-(_17:int)
-    io.print(x0);      # 11 IOprint_val (_18:void)<-(x0:int)
-    x1 := 3:int;       # 12  (x1:int)<-(_20:int)
-    io.print(x1);      # 13 IOprint_val (_21:void)<-(x1:int)
-    x2 := "3":str;     # 14  (x2:str)<-(_23:str)
-    io.print(x2);      # 15 IOprint_val (_24:void)<-(x2:str)
-    x3 := nil:bte;     # 16  (x3:bte)<-(_26:bte)
-    x4 := -1:bte;      # 17  (x4:bte)<-(_28:bte)
-    x5 := 0:wrd;       # 18  (x5:wrd)<-(_30:wrd)
-end main;      # 19  
+    c1 := 'a'; # 9  (c1:chr)<-(_16:chr)
+    io.print(c1);      # 10 IOprint_val (_17:void)<-(c1:chr)
+    c2 := '\012';      # 11  (c2:chr)<-(_19:chr)
+    io.print(c2);      # 12 IOprint_val (_20:void)<-(c2:chr)
+    c3 := '\011';      # 13  (c3:chr)<-(_22:chr)
+    io.print(c3);      # 14 IOprint_val (_23:void)<-(c3:chr)
+    c4 := '\012';      # 15  (c4:chr)<-(_19:chr)
+    io.print(c4);      # 16 IOprint_val (_25:void)<-(c4:chr)
+# test for coercion errors     # 17  (_26:str)
+    x0 := 1:int;       # 18  (x0:int)<-(_28:int)
+    io.print(x0);      # 19 IOprint_val (_29:void)<-(x0:int)
+    x1 := 3:int;       # 20  (x1:int)<-(_31:int)
+    io.print(x1);      # 21 IOprint_val (_32:void)<-(x1:int)
+    x2 := "3":str;     # 22  (x2:str)<-(_34:str)
+    io.print(x2);      # 23 IOprint_val (_35:void)<-(x2:str)
+    x3 := nil:bte;     # 24  (x3:bte)<-(_37:bte)
+    x4 := -1:bte;      # 25  (x4:bte)<-(_39:bte)
+    x5 := 0:wrd;       # 26  (x5:wrd)<-(_41:wrd)
+end main;      # 27  
+[ 'a' ]
+[ '\012' ]
+[ '\011' ]
+[ '\012' ]
 [ 1 ]
 [ 3 ]
 [ "3" ]


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

Reply via email to