pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.546 2002/10/11 15:17:01 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.547 2002/10/12 12:09:35 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   test_eq(1e1,10.0);   test_eq(1E1,10.0);
pike.git/src/testsuite.in:3521:    test_eq(Getopt.find_option(({"","--foo","bar"}),"p","foo",0,0),"bar")    test_eq(Getopt.find_option(({"","--","--foo=bar"}),"p","foo",0,0),0)       test_true(Getopt.find_option(({"","-p"}),"p","foo"))    test_eq(Getopt.find_option(({"","-pbar"}),"p","foo",0,0),"bar")    test_eq(Getopt.find_option(({"","-p","bar"}),"p","foo",0,0),"bar")    test_eq(Getopt.find_option(({"","--","--p","bar"}),"p","foo",0,0),0)       test_equal(Getopt.get_args(({"",0,0,"sune","--","-foo"})),({"","sune","-foo"}))    -  test_true(objectp(clone(String.String_buffer))) -  test_do(clone(String.String_buffer)->append("foo")) -  test_do(add_constant("Flurp",clone(String.String_buffer))) +  test_true( + #pike 7.2 + objectp(clone(String.String_buffer))) +  test_do( + #pike 7.2 + clone(String.String_buffer)->append("foo")) +  test_do( + #pike 7.2 + add_constant("Flurp",clone(String.String_buffer)))    test_do(Flurp->append("test"))    test_do(Flurp->append("test"))    test_eq((string)Flurp,"testtest")    test_do(add_constant("Flurp"))    -  test_eq(String.strmult("foo",4),"foofoofoofoo") +  test_eq( + #pike 7.2 + String.strmult("foo",4),"foofoofoofoo")      // m_delete   test_any_equal([[ mapping m=([1:1]); m_delete(m,0); return m; ]],[[ ([1:1]) ]])   test_any_equal([[ mapping m=([1:1,0:3]); m_delete(m,0); return m; ]],[[ ([1:1]) ]])   test_any([[mapping a=([1:1]); return m_delete(a,1)]],1)   test_any([[mapping m=([]); m[1]++; return m[1];]],1)   test_any([[mapping m=([1:1]); m[1]++; return m[1];]],2)   test_any([[mapping m=([]); m[1]++; m[1]++; return m[1];]],2)      // multiset tests