test: minor, rename fn

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-02-05 17:09:47 +01:00
parent c26dded49c
commit a96edf0291
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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)"
}