From 43c9ee33216cf5a49f227c566367a013a0f165ed Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 18 Feb 2024 19:51:53 -0600 Subject: [PATCH] Fix nbd-client.test to not abort "make tests". (If we exit instead of return from scripts/test.sh the subshell doesn't marshall $FAILCOUNT into the file "continue", which is interpreted as the test having crashed so the plumbing exits with 1.) --- tests/nbd-client.test | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/nbd-client.test b/tests/nbd-client.test index 32f6d028..f6600c30 100755 --- a/tests/nbd-client.test +++ b/tests/nbd-client.test @@ -7,6 +7,7 @@ if [ "$(id -u)" -ne 0 ] then echo "$SHOWSKIP: nbd-client (not root)" + return 2>/dev/null exit fi -- 2.39.2