From 0bfe651ec8322ca39318b564eef8a8e7ea279720 Mon Sep 17 00:00:00 2001 From: Karel Srot Date: Thu, 8 Jul 2021 08:43:52 +0200 Subject: [PATCH] check for the actual PID file instead --- Sanity/PID-file-location/runtest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sanity/PID-file-location/runtest.sh b/Sanity/PID-file-location/runtest.sh index 2f1a336..70fe5a9 100755 --- a/Sanity/PID-file-location/runtest.sh +++ b/Sanity/PID-file-location/runtest.sh @@ -44,9 +44,10 @@ rlJournalStart rlAssertGrep "PIDFile=/run/pkcsslotd.pid" $UNITFILE rlServiceStart pkcsslotd rlRun -s "journalctl -u pkcsslotd -S '-10s'" - rlAssertGrep "PID File created" $rlRun_LOG + #rlAssertGrep "PID File created" $rlRun_LOG rlAssertGrep "Started Daemon" $rlRun_LOG rlAssertNotGrep "PIDFile= references a path below legacy directory" $rlRun_LOG + rlAssertExists /run/pkcsslotd.pid rlPhaseEnd rlPhaseStartCleanup