aboutsummaryrefslogtreecommitdiff
path: root/source/1.0/src/shflags_test_public.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/1.0/src/shflags_test_public.sh')
-rwxr-xr-xsource/1.0/src/shflags_test_public.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/1.0/src/shflags_test_public.sh b/source/1.0/src/shflags_test_public.sh
index 5e02f1e..5364a28 100755
--- a/source/1.0/src/shflags_test_public.sh
+++ b/source/1.0/src/shflags_test_public.sh
@@ -136,8 +136,10 @@ oneTimeSetUp()
{
th_oneTimeSetUp
- if [ ${__FLAGS_GETOPT_VERS} -eq ${__FLAGS_GETOPT_VERS_STD} ]; then
- th_warn 'Standard version of getopt found. Some tests will be skipped.'
+ if flags_getoptIsStd; then
+ th_warn 'Standard version of getopt found. Enhanced tests will be skipped.'
+ else
+ th_warn 'Enhanced version of getopt found. Standard tests will be skipped.'
fi
}