From: Dmitry V. Levin Date: Wed, 22 Aug 2018 20:38:27 +0000 (+0000) Subject: tests: workaround systemd-nspawn habit of disabling munlockall syscall X-Git-Tag: v4.25~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1df0986c75a5933966b429288538ffc46cb1053c;p=strace tests: workaround systemd-nspawn habit of disabling munlockall syscall * tests/munlockall.c (main): Do not assume that munlockall syscall always succeeds. --- diff --git a/tests/munlockall.c b/tests/munlockall.c index 9ac69423..337cd3e0 100644 --- a/tests/munlockall.c +++ b/tests/munlockall.c @@ -6,7 +6,7 @@ int main(void) { - printf("munlockall() = %d\n", munlockall()); + printf("munlockall() = %s\n", sprintrc(munlockall())); puts("+++ exited with 0 +++"); return 0;