pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-07-02
2003-07-02 20:09:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e146f3f93e8013184fa29c10cfb5dab2d257178a (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Improved diagnostics for Process.TraceProcess test.
Rev: src/testsuite.in:1.661
1:
-
test_true([["$Id: testsuite.in,v 1.
660
2003/07/02
12
:
49
:
04
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
661
2003/07/02
20
:
09
:
33
grubba Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
9713:
return sprintf("Bad termination returncode from wait():%d (expected -1).", code); }
+
+
if (state != 3) {
+
return sprintf("Unexpected termination in state %d, signal %d.",
+
state, proc->last_signal());
+
}
+
int sig = proc->last_signal(); if (sig != signum("KILL")) { proc->kill(signum("KILL"));