mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
a1ba8c5b71
Create unit tests per established norm at position 52 check in_set first before getting unit
11 lines
269 B
Bash
Executable File
11 lines
269 B
Bash
Executable File
#!/bin/bash
|
|
TEST_DESCRIPTION="test honor first shutdown"
|
|
|
|
if grep -q "Shutdown is already active. Skipping emergency action request" /tmp/honorfirstshutdown.log; then
|
|
echo "$TEST_DESCRIPTION [pass]"
|
|
exit 0
|
|
else
|
|
echo "$TEST_DESCRIPTION [fail]"
|
|
exit 1
|
|
fi
|