check for the actual PID file instead
This commit is contained in:
parent
560d35ef65
commit
0bfe651ec8
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue