]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/cond.tests
Imported from ../bash-3.0.tar.gz.
[thirdparty/bash.git] / tests / cond.tests
index acaa5272e9e90a50126fb4a0b8e2a464d611908c..3abfa9d75d4be18b2de810b29c6a263031dc747f 100755 (executable)
@@ -153,3 +153,7 @@ PAT=
 if [[ $STR = $PAT ]]; then
         echo ok
 fi
+
+# bug in all versions up to and including bash-2.05b
+if [[ "123abc" == *?(a)bc ]]; then echo ok 42; else echo bad 42; fi
+if [[ "123abc" == *?(a)bc ]]; then echo ok 43; else echo bad 43; fi