mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +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
+1
-1
@@ -21,7 +21,7 @@ test_teardown()
|
||||
. "$TEST_DIR/tenv/lib.sh"
|
||||
|
||||
say 'Check runlevel'
|
||||
lvl=$(texec sh -c "initctl runlevel | awk '{print \$2;}'")
|
||||
lvl=$(run "initctl runlevel | awk '{print \$2;}'")
|
||||
if [ "$lvl" -eq "9" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user