From e4a3d2b2c52b47d5912c0972738069c62deeb9e5 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 28 Aug 2020 14:37:50 +0200 Subject: [PATCH] coverage.sh: two tests need qemu isolation --- coverage.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/coverage.sh b/coverage.sh index a8edfaa..2b4dddc 100755 --- a/coverage.sh +++ b/coverage.sh @@ -2275,12 +2275,9 @@ END if [ "$HAVE_QEMU" = "yes" ]; then ./run_qemu.sh runtests=$((runtests+1)) - elif [ "$mode" = "root" ]; then - ./run_null.sh SUDO - runtests=$((runtests+1)) else - ./run_null.sh - runtests=$((runtests+1)) + echo "HAVE_QEMU != yes -- Skipping test..." >&2 + skipped=$((skipped+1)) fi done @@ -2765,12 +2762,9 @@ END if [ "$HAVE_QEMU" = "yes" ]; then ./run_qemu.sh runtests=$((runtests+1)) - elif [ "$mode" = "root" ]; then - ./run_null.sh SUDO - runtests=$((runtests+1)) else - ./run_null.sh - runtests=$((runtests+1)) + echo "HAVE_QEMU != yes -- Skipping test..." >&2 + skipped=$((skipped+1)) fi done