pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.41 2008/05/03 14:19:03 nilsson Exp $ + dnl $Id: testsuite.in,v 1.42 2009/07/11 11:48:23 mast 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:723:   dnl Mapping.delete   dnl Mapping.Iterator      dnl - Multiset   dnl Multiset.Iterator      dnl - Process   test_equal([[Process.split_quoted_string("test ")]],[[({"test"})]])   test_equal([[Process.split_quoted_string("'test'")]],[[({"test"})]])   test_equal([[Process.split_quoted_string("foo 'test' bar")]],[[({"foo","test","bar"})]]) + test_equal([[Process.split_quoted_string ("\\\"")]], +  [[({"\""})]]) + test_equal([[Process.split_quoted_string ("\\a")]], +  [[({"a"})]]) + test_equal([[Process.split_quoted_string ("\\ ")]], +  [[({" "})]]) + test_equal([[Process.split_quoted_string ("x\\")]], +  [[({"x"})]]) + test_equal([[Process.split_quoted_string ("\"\\\"foo bar\"")]], +  [[({"\"foo bar"})]]) + test_equal([[Process.split_quoted_string ("\"\"foo bar\"")]], +  [[({"foo", "bar"})]])   test_equal([[Process.split_quoted_string("pike -m master.pike 'write(\"test\");'")]],[[({"pike","-m","master.pike","write(\"test\");"})]])   test_false([[   #ifdef __NT__    Process.system(RUNPIKE +" -e exit(0)")   #else /* !__NT__ */    Process.system(RUNPIKE +" -e 'exit(0)'")   #endif /* __NT__ */   ]])   test_true([[   #ifdef __NT__