test: Use STDOUT of parent process instead of a pipe as tty for finit

Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
Jacques de Laval committed 2021-03-05 01:24:31 +01:00
1 parent 439699ef52
commit 067043b298
4 files changed
+7 -6

No files matched your search

+4 -1
View File
@@ -45,4 +45,7 @@ exec "$unshare" \
--mount \
--mount-proc \
--uts --ipc --net \
"$chroot" "$TENV_ROOT" /bin/chrootsetup.sh "$@"
sh -c "
ln -fs /proc/1/fd/1 $TENV_ROOT/shared/pts;
exec $chroot $TENV_ROOT /bin/chrootsetup.sh $*
"