mirror of
https://github.com/troglobit/finit.git
synced 2026-10-29 12:40:44 +00:00
test: minor, rename fn
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
c26dded49c
commit
a96edf0291
2 files changed
+2
-2
No files matched your search
@@ -35,7 +35,7 @@ test_one()
|
||||
#run "initctl status serv"
|
||||
|
||||
retry 'assert_num_children 1 serv'
|
||||
retry "assert_pidfile $pidfn" 1
|
||||
retry "assert_has_pidfile $pidfn" 1
|
||||
|
||||
say 'Stop the service'
|
||||
run "initctl stop serv"
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ assert_nocond()
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
assert_pidfile()
|
||||
assert_has_pidfile()
|
||||
{
|
||||
assert "Process has PID file" "$(texec find $1 2>/dev/null)"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user