summaryrefslogtreecommitdiffstats
path: root/tests/version.mini
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/version.mini13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/version.mini b/tests/version.mini
new file mode 100644
index 0000000..637565e
--- /dev/null
+++ b/tests/version.mini
@@ -0,0 +1,13 @@
+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
+#echo versinfo: ${BASH_VERSINFO[@]}
+
+echo HOSTTYPE = $HOSTTYPE
+echo OSTYPE = $OSTYPE
+echo MACHTYPE = $MACHTYPE