From 47a818b832e385c0fb8d92ed0ae12ba3a89df705 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Thu, 14 Feb 2019 17:44:13 +0100 Subject: [PATCH] dismiss_count will still report failed root/sudo consistency failure Add comment to dismiss_tests --- tests/launch_tests.sh | 6 ++---- tests/lib.sh | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/launch_tests.sh b/tests/launch_tests.sh index 5e41633..71704fb 100755 --- a/tests/launch_tests.sh +++ b/tests/launch_tests.sh @@ -123,10 +123,8 @@ play_consistency_tests() { fi if [ 1 -eq $consist_test ]; then - if [ 0 -eq $dismiss_count ]; then - nbfailedconsist=$(( nbfailedconsist + 1 )) - listfailedconsist="$listfailedconsist $(make_usecase_name "$usecase" consist)" - fi + nbfailedconsist=$(( nbfailedconsist + 1 )) + listfailedconsist="$listfailedconsist $(make_usecase_name "$usecase" consist)" fi } diff --git a/tests/lib.sh b/tests/lib.sh index 2ca76af..179c54a 100644 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -66,6 +66,7 @@ contain() fi } +# Do not run tests at all for the next `run` dismiss_test() { # shellcheck disable=2034 dismiss_test=1