mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
test: HUP Finit from inside container instead ...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5002c74876
commit
ef1bfb869f
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -158,6 +158,7 @@ fi
|
||||
finit_ppid=$!
|
||||
echo "$finit_ppid" > "$TENV_ROOT"/running_test.pid
|
||||
|
||||
>&2 echo "Finit runs as PID $finit_ppid outside of container."
|
||||
>&2 echo "Hint: Execute 'TENV_ROOT=$TENV_ROOT $TEST_DIR/tenv/enter.sh' to enter the test namespace"
|
||||
log "$color_reset" 'Setup of test environment done' ''
|
||||
|
||||
@@ -170,5 +171,4 @@ fi
|
||||
#tty=/dev/$(texec cat /sys/class/tty/console/active)
|
||||
#texec cat "$tty" &
|
||||
sleep 5
|
||||
kill -HUP "$finit_pid"
|
||||
|
||||
Reference in new issue
Block a user