mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
test: new regression test, //run/foo.pid -> /var/run///run/foo.pid
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
a96edf0291
commit
a67b2ba9a7
3 files changed
+59
No files matched your search
@@ -86,6 +86,11 @@ assert_nocond()
|
||||
assert "Condition $cond cleared" "$(texec initctl -v cond get "$cond")" = "off"
|
||||
}
|
||||
|
||||
assert_is_pidfile()
|
||||
{
|
||||
assert "Process has PID file: $2" "$(texec initctl -p status "$1" | awk '/PID file/{print $4}')" = "$2"
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
assert_has_pidfile()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user