pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.899 2010/09/27 17:06:30 grubba Exp $"]]); + test_true([["$Id$"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])   test_compile_any([[#pike 7.4]])   test_compile_any([[#pike 7.0]])   test_compile_any([[#pike 0.6]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
pike.git/src/testsuite.in:7682:    [[ ({ "\2000", "\1000\1111\1001\1110", "foo"}) ]])      test_equal([[ array_sscanf("02 00 DC 00 0B","%{%x%*[\0-/:-@]%}")[0] ]],    [[ ({ ({2}), ({0}), ({220}),({0}), ({11}) }) ]])      test_equal([[ array_sscanf("\51726\30212\66610\30131", "%*[ \t]%s")[0] ]],    [[ "\51726\30212\66610\30131" ]])      test_equal([[ array_sscanf("hej","%s") ]], [[ ({ "hej" }) ]])   test_equal([[ array_sscanf("hej","%s%n") ]], [[ ({ "hej", 3 }) ]]) + test_equal([[ array_sscanf("hejhopp", "%*!3s%s%n") ]], [[ ({ "hopp", 4 }) ]])   test_eval_error([[ function f=array_sscanf; f("hej","%s% ") ]])      test_equal([[ array_sscanf("\x304b\x3066\x3044\x308a\x3087\x3046\x308a", "%[^\x3042\x3044\x3046\x3048\x304a]")[0] ]],    [[ "\x304b\x3066" ]])      test_equal( array_sscanf("xfoox", "%sfoo%s"), ({ "x", "x" }) )   test_equal( array_sscanf("xfoox", "%sfo\400%s"), ({}) )   test_equal( array_sscanf("xfoox", "%sfo\200000%s"), ({}) )   test_equal( array_sscanf("xfo\400x", "%sfoo%s"), ({}) )   test_equal( array_sscanf("xfo\400x", "%sfo\400%s"), ({ "x", "x" }) )