pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:8114:   test_eq(foo->i[0],0)   test_do(foo->i[0]=17)   test_eq(foo->i[0],17)   test_do(add_constant("foo"));      // signum, signame   test_true(intp(signum("SIGKILL")))      // kill, signal, getpid   test_true(intp(getpid())) - cond([[all_constants()->kill && (cpp("__NT__")/"\n")[1]=="__NT__" ]], + cond([[all_constants()->kill && (cpp("__NT__")/"\n")[-1]=="__NT__" ]],   [[    test_do(signal(signum("SIGFPE"),lambda() { add_constant("AFJLLAF",17); }))    test_do(kill(getpid(),signum("SIGFPE")))    test_do(sleep(2))    test_eq(AFJLLAF,17)    test_do(add_constant("AFJLLAF"))    test_do(signal(signum("SIGFPE"), 0))    test_do(signal(signum("SIGFPE")))   ]])