diff options
author | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
commit | f250956cb2a8dca13fc0242affc225f9d6983604 (patch) | |
tree | 2df8e15963af786dc8efed1c91c4d823a3bf05bb /tests/version | |
parent | 2ae59c1134a75d5778997b7202b15b0586283042 (diff) | |
download | bash-5.0-testing.tar.gz |
bash-5.0-rc1 releasebash-5.0-rc1bash-5.0-testing
Diffstat (limited to 'tests/version')
-rw-r--r-- | tests/version | 5 |
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 |