pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:11166:   test_false(glob("*f","foo"))   test_false(glob("o*","foo"))   test_false(glob("?f?","foo"))   test_equal([[glob("?f?",({"ff","ffff","off","fff",""}))]],[[({"off","fff"})]])   test_equal([[glob("foo*bar",({"foobar","foobargazonk","","foofoobar","fobar","fooar"}))]],[[({"foobar","foofoobar"})]])   test_eval_error([[    array a=({"a","b",3});    return glob("*", a);   ]])   test_equal([[glob("foo", ({}))]], ({})) + test_false( glob( ({ "a*", "b*" }), "foo" ) ) + test_eq( glob( ({ "a*", "b*" }), "bar" ), "b*" ) + test_false( glob( "\\**", "a*") ) + test_true( glob( "\\**", "*a") ) + test_false( glob( "[abc]*", "[abc]d") ) + test_true( glob( "\\[abc\\]*", "[abc]d") ) + test_true( glob( "[abc]*", "ad") )      // - gmtime   cond([[all_constants()->localtime && all_constants()->mktime]],[[    test_do([[int t = -1; catch(gmtime(t));]])   ]])      // - hardlink      // - has_index   define(test_has_index,[[test_any([[mixed foo=$1; return has_index(foo,$2)==$3;]], 1)]])