mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
e3ceb75be3
We don't need that at the end, as it will always exit with 0 if everything is okey.
16 lines
461 B
Bash
Executable file
16 lines
461 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
set -o pipefail
|
|
|
|
[[ "$(systemctl show -p DefaultLimitNOFILESoft)" = "DefaultLimitNOFILESoft=10000" ]]
|
|
[[ "$(systemctl show -p DefaultLimitNOFILE)" = "DefaultLimitNOFILE=16384" ]]
|
|
|
|
[[ "$(systemctl show -p LimitNOFILESoft testsuite.service)" = "LimitNOFILESoft=10000" ]]
|
|
[[ "$(systemctl show -p LimitNOFILE testsuite.service)" = "LimitNOFILE=16384" ]]
|
|
|
|
[[ "$(ulimit -n -S)" = "10000" ]]
|
|
[[ "$(ulimit -n -H)" = "16384" ]]
|
|
|
|
touch /testok
|