pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.35 2004/07/14 13:48:06 grubba Exp $ + dnl $Id: testsuite.in,v 1.36 2004/07/14 13:48:43 grubba Exp $      START_MARKER      dnl - Array      test_equal(Array.diff(({ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }),    ({ 6, 7, 8, 9, 3, 4, 5, 1, 2, 0 })),    ({ ({ ({ 0, 1, 2, 3, 4, 5 }),    ({ 6, 7, 8, 9 }), ({}) }),    ({ ({}), ({ 6, 7, 8, 9 }),
pike.git/lib/modules/testsuite.in:647:    return x;   ]],[[ ({ "x", "a", "-b" }) ]])   test_any_equal([[    array x = ({ "x", "a", "-b" });    opt(x, ({ "y", Getopt.HAS_ARG, "-b" }), 1, 1);    return x;   ]],[[ ({ "x", "a", "-b" }) ]])      dnl cleanup   test_do( putenv("POSIX_ME_HARDER", original_POSIX_ME_HARDER); ) + test_do( putenv("foo", original_foo); )   test_do( add_constant("original_POSIX_ME_HARDER"); ) -  + test_do( add_constant("original_foo"); )   test_do( add_constant("opt"); )      dnl - Int      test_eq( Int.parity(0), 0 )   test_eq( Int.parity(1), 1 )   test_eq( Int.parity(2), 1 )   test_eq( Int.parity(3), 0 )   test_eq( Int.parity(4), 1 )   test_eq( Int.parity(6), 0 )