pike.git / src / modules / Gdbm / testsuite.in

version» Context lines:

pike.git/src/modules/Gdbm/testsuite.in:1:   START_MARKER      // gdbm   cond_begin([[ master()->resolv("Gdbm") ]])       test_true(programp(Gdbm.gdbm)) -  test_do(destruct(Gdbm.gdbm())) +        define([[GDBMTESTS]],    [[    test_do(rm("test.gdbm"))    test_do(add_constant("GDBMBASE",Gdbm.gdbm("test.gdbm")))    test_true(file_stat("test.gdbm"))       GDBMNULLTEST    test_true(GDBMBASE->store("foo","bar"))    GDBMNULLTEST
pike.git/src/modules/Gdbm/testsuite.in:37:    test_false(GDBMBASE->fetch("slakjdfasdf"))    ]])       GDBMTESTS       define([[GDBMNULLTEST]],[[    test_false(GDBMBASE->fetch("slakjdfasdf"))    test_do(GDBMBASE->reorganize())    test_do(GDBMBASE->sync())    test_do(GDBMBASE->close()) -  test_do(GDBMBASE->create("test.gdbm")) +  test_do(add_constant("GDBMBASE",Gdbm.gdbm("test.gdbm")))    ]])       GDBMTESTS       test_do(rm("test.gdbm"))    test_do(add_constant("GDBMBASE"))      cond_end // Gdbm      END_MARKER