Results for extglob-match.test.sh

statusbashmkshosh
pass 261925
ok 011
N-I 020
BUG 040
total262626
casebashmkshoshdescription
0pass pass pass @ matches exactly one
1pass pass pass @() with variable arms
2pass N-I pass extglob in variable
details
3pass BUG pass nested @()
details
4pass pass pass nested @() with quotes and vars
5pass pass pass ? matches 0 or 1
6pass pass pass + matches 1 or more
7pass pass pass * matches 0 or more
8pass pass pass simple repetition with *(foo) and +(Foo)
9pass pass pass ! matches none
10pass pass pass match is anchored
11pass pass pass repeated match is anchored
12pass pass pass repetition with glob
13pass pass pass No brace expansion in ==
14pass pass pass adjacent extglob
15pass pass pass nested extglob
16pass pass pass extglob empty string
17pass pass pass extglob empty pattern
18pass pass pass case with extglob
19pass pass pass [[ $x == !($str) ]]
20pass ok ok Turning extglob on changes the meaning of [[ !(str) ]] in bash
detailsdetails
21pass pass pass With extglob on, !($str) on the left or right of == has different meanings
22pass BUG pass extglob inside arg word
details
23pass N-I pass extglob is not detected in regex!
details
24pass BUG pass regular glob of single unicode char
details
25pass BUG pass extended glob of single unicode char
details
70 passed, 2 OK, 2 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

mksh2 extglob in variable

stdout:
FALSE
FALSE
FALSE
stderr:
mksh: <stdin>[1]: shopt: not found
mksh3 nested @()

stdout:
FALSE
stderr:
mksh: <stdin>[1]: shopt: not found
mksh20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
mksh: <stdin>[5]: shopt: not found
osh20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
mksh22 extglob inside arg word

stdout:
TRUE
FALSE
stderr:
mksh: <stdin>[1]: shopt: not found
mksh23 extglob is not detected in regex!

stdout:
stderr: 
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand
mksh24 regular glob of single unicode char

stdout:
0
1
stderr:
mksh: <stdin>[1]: shopt: not found
mksh25 extended glob of single unicode char

stdout:
0
1
stderr:
mksh: <stdin>[1]: shopt: not found