mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
test: minor, rename fn
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -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