pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.620 2003/03/16 17:04:27 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.621 2003/03/16 17:21:36 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   test_eq(1e1,10.0);   test_eq(1E1,10.0);
pike.git/src/testsuite.in:9080:    code = proc->wait();    if (code != -2) {    proc->kill(signum("KILL"));    return sprintf("Bad second returncode from wait():%d (expected -2)", code);    }    sig = proc->last_signal();    if (sig != signum("TERM")) {    proc->kill(signum("KILL"));    return sprintf("Unexpected signal:%d (expected %d)", sig, signum("TERM"));    } -  proc->cont(); +  proc->cont(); // Ignore it...       // Check that we can make harmless signals deadly. -  proc->kill(signum("CONT")); // SIGCONT +  proc->kill(signum("CONT"));    code = proc->wait();    if (code != -2) {    proc->kill(signum("KILL"));    return sprintf("Bad third returncode from wait():%d (expected -2)", code);    }    sig = proc->last_signal();    if (sig != signum("CONT")) { -  proc->kill(9); +  proc->kill(signum("KILL"));    return sprintf("Unexpected signal:%d (expected %d)", sig, signum("CONT"));    } -  proc->cont(9); // Make it a SIGKILL +  proc->cont(signum("KILL")); // Make it a SIGKILL       code = proc->wait();    if (code != -1) {    proc->kill(signum("KILL"));    return sprintf("Bad fourth returncode from wait():%d (expected -1)", code);    }    sig = proc->last_signal();    if (sig != signum("KILL")) {    proc->kill(signum("KILL"));    return sprintf("Unexpected signal:%d (expected %d)", sig, signum("KILL"));