pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.44 2009/11/10 10:00:26 grubba Exp $ + dnl $Id: testsuite.in,v 1.45 2009/11/10 13:12:08 grubba Exp $      START_MARKER      dnl - Arg      test_equal( Arg.parse("aa --hopp --haha=ho -bar=foo x y"/" "),    ([ "hopp":1, "haha":"ho", "b":1, "a":1, "r":"foo", Arg.REST: ({"x","y"}) ]) )   test_equal( Arg.parse("aa -bar -x=6"/" "),    ([ "b":1, "a":1, "r":1, "x":"6", Arg.REST: ({}) ]) )   test_equal( Arg.parse("aa --foo --bar"/" "),
pike.git/lib/modules/testsuite.in:718:    array_sscanf("\2\1", "%2c")[0])   test_eq( Int.swap_long(array_sscanf("\1\2\3\4", "%4c")[0]),    array_sscanf("\4\3\2\1", "%4c")[0])      dnl - Mapping   dnl Mapping.delete   dnl Mapping.Iterator      test_do([[    // Test for [bug 5085]. -  for (i=0; i < 100; i++) { +  for (int i=0; i < 100; i++) {    // The following line trigged the bug 33% of the time.    get_iterator(([1:1]))->_random();    }   ]])      dnl - Multiset   dnl Multiset.Iterator      dnl - Process   test_equal([[Process.split_quoted_string("test ")]],[[({"test"})]])