aboutsummaryrefslogtreecommitdiff
path: root/tests/test_multiprocessing.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-09-18 10:32:50 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-09-18 23:08:05 -0400
commitb9d1747f06a226ddbf7a0a61e7e21a9ce272a37a (patch)
treeb1f4cb491e38dc123c67625f11be6e03acd79099 /tests/test_multiprocessing.c
parent8af1b2f8cfbea6639f922b8cc0e392fcf417eadb (diff)
downloadstasis-b9d1747f06a226ddbf7a0a61e7e21a9ce272a37a.tar.gz
Fix test code and expected values within test code
* Errant undo operation!
Diffstat (limited to 'tests/test_multiprocessing.c')
-rw-r--r--tests/test_multiprocessing.c2
1 files changed, 1 insertions, 1 deletions
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},
};