mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
18 lines
468 B
Bash
Executable File
18 lines
468 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
|
|
exit 0
|