From 1c6a4a54fa238b148428a9ce601a52fce63e9afe Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 5 Sep 2024 08:00:00 +0000 Subject: run-xtests.sh: skip the tests instead of failing them if run by non-root This simplifies integration of xtests into test frameworks. --- xtests/run-xtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtests/run-xtests.sh b/xtests/run-xtests.sh index e580e0ab..42e92d70 100755 --- a/xtests/run-xtests.sh +++ b/xtests/run-xtests.sh @@ -6,7 +6,7 @@ shift 1 if test `id -u` -ne 0 ; then echo "You need to be root to run the tests" - exit 1 + exit 77 fi XTESTS="$@" -- cgit v1.2.3