summaryrefslogtreecommitdiff
path: root/tests/version.mini
diff options
context:
space:
mode:
Diffstat (limited to 'tests/version.mini')
-rw-r--r--tests/version.mini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/version.mini b/tests/version.mini
index 72e4bf96..637565ea 100644
--- a/tests/version.mini
+++ b/tests/version.mini
@@ -1,3 +1,8 @@
+if (( $UID == 0 )); then
+ echo "${THIS_SH}: the test suite should not be run as root" >&2
+ echo
+fi
+
echo Testing ${THIS_SH}
echo version: $BASH_VERSION