coverage.sh: remove chroot directories

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-02-06 14:46:30 +01:00
parent 0009e62b3e
commit 276363c2a1
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -568,6 +568,7 @@ if [ "\$ret" = 0 ]; then
echo expected failure but got exit \$ret >&2 echo expected failure but got exit \$ret >&2
exit 1 exit 1
fi fi
rm -r /tmp/debian-chroot
END END
if [ "$CONTAINER" = "lxc" ]; then if [ "$CONTAINER" = "lxc" ]; then
# see https://stackoverflow.com/questions/65748254/ # see https://stackoverflow.com/questions/65748254/
@ -599,6 +600,7 @@ if [ "\$ret" = 0 ]; then
echo expected failure but got exit \$ret >&2 echo expected failure but got exit \$ret >&2
exit 1 exit 1
fi fi
rm -r /tmp/debian-chroot
END END
if [ "$HAVE_QEMU" = "yes" ]; then if [ "$HAVE_QEMU" = "yes" ]; then
./run_qemu.sh ./run_qemu.sh