tests/root-mode-inside-chroot: run test script with -x

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-02-19 09:17:57 +01:00
parent 2f337767ea
commit b90f1196e5
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -11,7 +11,7 @@ trap "rm -f /tmp/debian-chroot.tar script.sh" EXIT INT TERM
cat << 'SCRIPT' > script.sh
#!/bin/sh
set -eu
set -exu
rootfs="$1"
mkdir -p "$rootfs/mnt"
[ -e /usr/bin/mmdebstrap ] && cp -aT /usr/bin/mmdebstrap "$rootfs/usr/bin/mmdebstrap"