From 0fb30a1010e5feefd26f351293175f860b6144d5 Mon Sep 17 00:00:00 2001 From: Jeff Regan Date: Fri, 15 Jan 2021 13:58:09 -0800 Subject: [PATCH] In plugin tests, yell FAILURE on failure. --- hack/testUnitKustomizePlugins.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hack/testUnitKustomizePlugins.sh b/hack/testUnitKustomizePlugins.sh index a1235ebb1..bd1d67e85 100755 --- a/hack/testUnitKustomizePlugins.sh +++ b/hack/testUnitKustomizePlugins.sh @@ -34,7 +34,7 @@ function runTest { fi rcAccumulator=$((rcAccumulator || $code)) if [ $code -ne 0 ]; then - echo "Failure in $d" + echo "**** FAILURE in $d" fi } @@ -61,8 +61,6 @@ for goMod in $(find ./plugin -name 'go.mod' -not -path "./plugin/untested/*"); d done if [ $rcAccumulator -ne 0 ]; then - echo "FAILURE; exit code $rcAccumulator" + echo "FAIL; exit code $rcAccumulator" exit 1 fi - -