From b9d1747f06a226ddbf7a0a61e7e21a9ce272a37a Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 18 Sep 2024 10:32:50 -0400 Subject: Fix test code and expected values within test code * Errant undo operation! --- tests/test_multiprocessing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_multiprocessing.c') diff --git a/tests/test_multiprocessing.c b/tests/test_multiprocessing.c index 901666b..f060e6a 100644 --- a/tests/test_multiprocessing.c +++ b/tests/test_multiprocessing.c @@ -70,7 +70,7 @@ void test_mp_pool_workflow() { }; struct testcase tc[] = { {.input_cmd = "true && kill $$", .input_join_flags = 0, .expected_result = 1, .expected_status = 0, .expected_signal = SIGTERM}, - {.input_cmd = "false || kill -1 $$", .input_join_flags = 0, .expected_result = 1, .expected_status = 1, .expected_signal = SIGTERM}, + {.input_cmd = "false || kill $$", .input_join_flags = 0, .expected_result = 1, .expected_status = 0, .expected_signal = SIGTERM}, {.input_cmd = "true", .input_join_flags = 0,.expected_result = 0, .expected_status = 0, .expected_signal = 0}, {.input_cmd = "false", .input_join_flags = 0, .expected_result = 1, .expected_status = 1, .expected_signal = 0}, }; -- cgit