Changeset: 0064f16d19a7 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0064f16d19a7 Added Files: monetdb5/mal/Tests/tst810.mal monetdb5/mal/Tests/tst810.stable.err monetdb5/mal/Tests/tst810.stable.out Branch: default Log Message:
Add the missing test output diffs (133 lines): diff --git a/monetdb5/mal/Tests/tst810.mal b/monetdb5/mal/Tests/tst810.mal new file mode 100644 --- /dev/null +++ b/monetdb5/mal/Tests/tst810.mal @@ -0,0 +1,16 @@ +b:= bat.new(:oid,:int); +bat.append(b,1); +bat.append(b,2); +bat.append(b,3); +bat.append(b,4); +bat.append(b,5); +bat.append(b,6); +bat.append(b,7); +bat.append(b,8); +bat.append(b,9); +io.print(b); + +slice1 := algebra.slice(b,nil:oid,4@0); +io.print(slice1); +slice2 := algebra.slice(b,4@0,nil:oid); +io.print(slice2); diff --git a/monetdb5/mal/Tests/tst810.stable.err b/monetdb5/mal/Tests/tst810.stable.err new file mode 100644 --- /dev/null +++ b/monetdb5/mal/Tests/tst810.stable.err @@ -0,0 +1,31 @@ +stderr of test 'tst810` in directory 'mal` itself: + + +# 16:18:09 > +# 16:18:09 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "gdk_dbfarm=/scratch/mk/current//Linux/var/MonetDB" "--set" "mapi_open=true" "--set" "mapi_port=32494" "--set" "monet_prompt=" "--trace" "--forcemito" "--set" "mal_listing=2" "--dbname=mTests_mal" "tst810.mal" +# 16:18:09 > + +# builtin opt gdk_dbname = demo +# builtin opt gdk_dbfarm = /scratch/mk/current//Linux/var/monetdb5/dbfarm +# builtin opt gdk_debug = 0 +# builtin opt gdk_alloc_map = no +# builtin opt gdk_vmtrim = yes +# builtin opt monet_prompt = > +# builtin opt monet_daemon = no +# builtin opt mapi_port = 50000 +# builtin opt mapi_open = false +# builtin opt mapi_autosense = false +# builtin opt sql_optimizer = default_pipe +# builtin opt sql_debug = 0 +# cmdline opt gdk_nr_threads = 0 +# cmdline opt gdk_dbfarm = /scratch/mk/current//Linux/var/MonetDB +# cmdline opt mapi_open = true +# cmdline opt mapi_port = 32494 +# cmdline opt monet_prompt = +# cmdline opt mal_listing = 2 +# cmdline opt gdk_dbname = mTests_mal + +# 16:18:09 > +# 16:18:09 > "Done." +# 16:18:09 > + diff --git a/monetdb5/mal/Tests/tst810.stable.out b/monetdb5/mal/Tests/tst810.stable.out new file mode 100644 --- /dev/null +++ b/monetdb5/mal/Tests/tst810.stable.out @@ -0,0 +1,71 @@ +stdout of test 'tst810` in directory 'mal` itself: + + +# 16:18:09 > +# 16:18:09 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "gdk_dbfarm=/scratch/mk/current//Linux/var/MonetDB" "--set" "mapi_open=true" "--set" "mapi_port=32494" "--set" "monet_prompt=" "--trace" "--forcemito" "--set" "mal_listing=2" "--dbname=mTests_mal" "tst810.mal" +# 16:18:09 > + +# MonetDB 5 server v11.10.0 +# This is an unreleased version +# Serving database 'mTests_mal', using 8 threads +# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked +# Found 15.620 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2012 MonetDB B.V., all rights reserved +# Visit http://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://rocks019.scilens:32494/ +# MonetDB/GIS module loaded +# MonetDB/JAQL module loaded +# MonetDB/SQL module loaded +function user.main():void; + b := bat.new(:oid,:int); + bat.append(b,1); + bat.append(b,2); + bat.append(b,3); + bat.append(b,4); + bat.append(b,5); + bat.append(b,6); + bat.append(b,7); + bat.append(b,8); + bat.append(b,9); + io.print(b); + slice1 := algebra.slice(b,nil:oid,4@0); + io.print(slice1); + slice2 := algebra.slice(b,4@0,nil:oid); + io.print(slice2); +end main; +#-----------------# +# h t # name +# void int # type +#-----------------# +[ 0@0, 1 ] +[ 1@0, 2 ] +[ 2@0, 3 ] +[ 3@0, 4 ] +[ 4@0, 5 ] +[ 5@0, 6 ] +[ 6@0, 7 ] +[ 7@0, 8 ] +[ 8@0, 9 ] +#-----------------# +# t h # name +# void int # type +#-----------------# +[ 0@0, 1 ] +[ 1@0, 2 ] +[ 2@0, 3 ] +[ 3@0, 4 ] +#-----------------# +# t h # name +# void int # type +#-----------------# +[ 4@0, 5 ] +[ 5@0, 6 ] +[ 6@0, 7 ] +[ 7@0, 8 ] +[ 8@0, 9 ] + +# 16:18:09 > +# 16:18:09 > "Done." +# 16:18:09 > + _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
