summaryrefslogtreecommitdiff
path: root/tests/version
diff options
context:
space:
mode:
Diffstat (limited to 'tests/version')
-rw-r--r--tests/version5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/version b/tests/version
index bd740205..9ad08f7d 100644
--- a/tests/version
+++ b/tests/version
@@ -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