summaryrefslogtreecommitdiffstats
path: root/test/TEST-52-HONORFIRSTSHUTDOWN/fini.sh
blob: 993ada020ebe4b74f85a89bdfb41bb65406f297c (plain)
1
2
3
4
5
6
7
8
9
10
#!/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