pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.631 2003/04/02 19:42:57 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.632 2003/04/03 13:59:05 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])   test_compile_any([[#pike 7.4]])   test_compile_any([[#pike 7.0]])   test_compile_any([[#pike 0.6]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
pike.git/src/testsuite.in:9164:    array threads = allocate (10, Thread.thread_create) (    lambda (object proc) {proc->wait();}, proc);    sleep (1);    proc->kill (9);    return threads->wait() - ({-1});   ]], ({}))   ]])      cond([[ file_stat("/bin/sleep") && __builtin->TraceProcess && (cpp("__NT__")/"\n")[1]=="__NT__" ]],   [[ - test_do([[ + test_any([[    // Check that tracing works...    Process.TraceProcess proc =    Process.TraceProcess(({ "/bin/sleep", "99999" }));       int code = proc->wait();    if (code != -2) {    proc->kill(signum("KILL"));    return sprintf("Bad returncode from wait():%d (expected -2)", code);    }    int sig = proc->last_signal();