18 lines
484 B
Text
18 lines
484 B
Text
This test waits forever if the process ignores SIGQUIT.
|
|
|
|
Index: tests/test_std.js
|
|
--- tests/test_std.js.orig
|
|
+++ tests/test_std.js
|
|
@@ -252,10 +252,10 @@ function test_os_exec()
|
|
|
|
pid = os.exec(["cat"], { block: false } );
|
|
assert(pid >= 0);
|
|
- os.kill(pid, os.SIGQUIT);
|
|
+ os.kill(pid, os.SIGTERM);
|
|
[ret, status] = os.waitpid(pid, 0);
|
|
assert(ret, pid);
|
|
- assert(status & 0x7f, os.SIGQUIT);
|
|
+ assert(status & 0x7f, os.SIGTERM);
|
|
}
|
|
|
|
function test_timer()
|