diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-04-29 12:04:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-05-24 10:48:28 +0200 |
commit | 7bbc229cf7539b70d0b3d89a567176f48ec7b583 (patch) | |
tree | f6a0982ae5287826808cce80245d7a71e9d0ac88 /src/test | |
parent | ccc16c7842a144af5df6accbb2f01281ee0d3129 (diff) | |
download | systemd-7bbc229cf7539b70d0b3d89a567176f48ec7b583.tar.gz |
test: use the new action in our tests
This way, we know that it works as intended.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-seccomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c index 9b7307cf39..a906070f9a 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); |