check for the actual PID file instead

This commit is contained in:
Karel Srot 2021-07-08 08:43:52 +02:00
commit 0bfe651ec8

View file

@ -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