mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 07:32:43 +00:00
12 lines
251 B
Bash
Executable File
12 lines
251 B
Bash
Executable File
#!/bin/sh
|
|
|
|
function failed {
|
|
printf "sysctl test suite FAILED\n" >&1
|
|
exit 1
|
|
}
|
|
|
|
# this is a non default value, so will fail if sysctl failed
|
|
[ "$(sysctl -n fs.inotify.max_user_watches)" -eq 524288 ] || failed
|
|
|
|
printf "Sysctl test suite PASSED\n" >&1
|