coverage.sh: stable default mirror: don't forget to remove chroot and only run test with qemu

This commit is contained in:
Johannes 'josch' Schauer 2019-02-24 11:00:24 +01:00
parent 49d0642932
commit c0ac77b01d
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -430,11 +430,12 @@ deb http://deb.debian.org/debian stable main
deb http://deb.debian.org/debian stable-updates main
deb http://security.debian.org/debian-security stable/updates main
SOURCES
rm -r /tmp/debian-unstable
END
if [ "$HAVE_QEMU" = "yes" ]; then
./run_qemu.sh
else
./run_null.sh SUDO
echo "HAVE_QEMU != yes -- Skipping test..."
fi
print_header "mode=$defaultmode,variant=apt: pass distribution but implicitly write to stdout"