aboutsummaryrefslogtreecommitdiff
path: root/testsuite/testing.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/testing.sh')
-rw-r--r--testsuite/testing.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/testing.sh b/testsuite/testing.sh
index f5b756947..95bb46dda 100644
--- a/testsuite/testing.sh
+++ b/testsuite/testing.sh
@@ -56,11 +56,21 @@ optional()
56{ 56{
57 SKIP= 57 SKIP=
58 while test "$1"; do 58 while test "$1"; do
59 case $1 in
60 "!"*)
61 case "${OPTIONFLAGS}" in
62 *:${1#!}:*) SKIP=1; return;;
63 esac
64 shift
65 ;;
66 *)
59 case "${OPTIONFLAGS}" in 67 case "${OPTIONFLAGS}" in
60 *:$1:*) ;; 68 *:$1:*) ;;
61 *) SKIP=1; return ;; 69 *) SKIP=1; return ;;
62 esac 70 esac
63 shift 71 shift
72 ;;
73 esac
64 done 74 done
65} 75}
66 76