aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorkate.ward <kate.ward@forestent.com>2008-11-15 17:16:55 +0000
committerkate.ward <kate.ward@forestent.com>2008-11-15 17:16:55 +0000
commitb0aaccf644ee057219a3c9eb0aeb015c74f5ee28 (patch)
treee50b179523b0389e138c4f706ce0a442059e5cf7 /source
parent20b5e0d9a38a6e183f448fa7b5160ee505f08aaf (diff)
downloadshflags-b0aaccf644ee057219a3c9eb0aeb015c74f5ee28.tar.gz
test skip warning now present for all tests
Diffstat (limited to 'source')
-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
}