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:
parent
9d2848e517
commit
1df0986c75
@ -6,7 +6,7 @@
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
printf("munlockall() = %d\n", munlockall());
|
||||
printf("munlockall() = %s\n", sprintrc(munlockall()));
|
||||
|
||||
puts("+++ exited with 0 +++");
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user