tests: workaround systemd-nspawn habit of disabling munlockall syscall

* tests/munlockall.c (main): Do not assume that munlockall syscall
always succeeds.
This commit is contained in:
Дмитрий Левин 2018-08-22 20:38:27 +00:00
parent 9d2848e517
commit 1df0986c75

View File

@ -6,7 +6,7 @@
int
main(void)
{
printf("munlockall() = %d\n", munlockall());
printf("munlockall() = %s\n", sprintrc(munlockall()));
puts("+++ exited with 0 +++");
return 0;