mirror of
https://github.com/troglobit/finit.git
synced 2026-11-29 21:08:21 +00:00
test: new shell helper function run()
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
94e8b185b4
commit
8e056422fc
1 file changed
+5
@@ -93,6 +93,11 @@ texec()
|
|||||||
"$TEST_DIR/tenv/exec.sh" "$finit_pid" "$@"
|
"$TEST_DIR/tenv/exec.sh" "$finit_pid" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run()
|
||||||
|
{
|
||||||
|
texec sh -c "$@"
|
||||||
|
}
|
||||||
|
|
||||||
pause()
|
pause()
|
||||||
{
|
{
|
||||||
echo "Press any key to continue... "
|
echo "Press any key to continue... "
|
||||||
|
|||||||
Reference in new issue
Block a user