From 80eae821049009eee6abd65a2a991a5a2beb4572 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 13 Aug 2012 22:11:50 +0200 Subject: [PATCH] test: spawn failures are reported by setting the exit code to -1 --- test/test-spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-spawn.c b/test/test-spawn.c index 3576fc584..a9232150f 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -65,7 +65,7 @@ static void exit_cb_failure_expected(uv_process_t* process, int exit_status, int term_signal) { printf("exit_cb\n"); exit_cb_called++; - ASSERT(exit_status == 127); + ASSERT(exit_status == -1); ASSERT(term_signal == 0); uv_close((uv_handle_t*)process, close_cb); }