illumos-port-bash/tests/version.mini

14 lines
271 B
Plaintext

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