From: Lennart Poettering Date: Mon, 29 Apr 2019 10:04:34 +0000 (+0200) Subject: test: use the new action in our tests X-Git-Tag: v243-rc1~381^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bbc229cf7539b70d0b3d89a567176f48ec7b583;p=thirdparty%2Fsystemd.git test: use the new action in our tests This way, we know that it works as intended. --- diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c index 9b7307cf393..a906070f9a9 100644 --- a/src/test/test-seccomp.c +++ b/src/test/test-seccomp.c @@ -635,7 +635,7 @@ static void test_load_syscall_filter_set_raw(void) { assert_se(access("/", F_OK) >= 0); assert_se(poll(NULL, 0, 0) == 0); - assert_se(seccomp_load_syscall_filter_set_raw(SCMP_ACT_ALLOW, NULL, SCMP_ACT_KILL, true) >= 0); + assert_se(seccomp_load_syscall_filter_set_raw(SCMP_ACT_ALLOW, NULL, scmp_act_kill_process(), true) >= 0); assert_se(access("/", F_OK) >= 0); assert_se(poll(NULL, 0, 0) == 0);