mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
test: minor, replace 'texec sh -c' -> 'run'
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5a9cafc2fc
commit
b6769356b2
21 files changed
+170
-165
No files matched your search
+2
-2
@@ -24,7 +24,7 @@ test_teardown()
|
||||
say "Test done $(date)"
|
||||
say "Running test teardown."
|
||||
|
||||
texec rm -f "$FINIT_CONF" "/tmp/post"
|
||||
run "rm -f $FINIT_CONF" "/tmp/post"
|
||||
}
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
@@ -51,7 +51,7 @@ test_one()
|
||||
|
||||
say "Verify bar is restarted with foo is ..."
|
||||
pid=$(texec initctl |grep bar | awk '{print $1;}')
|
||||
texec initctl restart foo
|
||||
run "initctl restart foo"
|
||||
assert "bar is restarted" "$(texec initctl |grep bar | awk '{print $1;}')" != "$pid"
|
||||
|
||||
# Wait for spice to be stolen by the Harkonnen
|
||||
|
||||
Reference in new issue
Block a user