Results for extglob-match.test.sh

statusbashmkshoshosh_ALT
pass 26192525
ok 0111
N-I 0200
BUG 0400
total26262626
casebashmkshoshosh_ALTdescription
0pass pass pass pass @ matches exactly one
1pass pass pass pass @() with variable arms
2pass N-I pass pass extglob in variable
details
3pass BUG pass pass nested @()
details
4pass pass pass pass nested @() with quotes and vars
5pass pass pass pass ? matches 0 or 1
6pass pass pass pass + matches 1 or more
7pass pass pass pass * matches 0 or more
8pass pass pass pass simple repetition with *(foo) and +(Foo)
9pass pass pass pass ! matches none
10pass pass pass pass match is anchored
11pass pass pass pass repeated match is anchored
12pass pass pass pass repetition with glob
13pass pass pass pass No brace expansion in ==
14pass pass pass pass adjacent extglob
15pass pass pass pass nested extglob
16pass pass pass pass extglob empty string
17pass pass pass pass extglob empty pattern
18pass pass pass pass case with extglob
19pass pass pass pass [[ $x == !($str) ]]
20pass ok ok ok Turning extglob on changes the meaning of [[ !(str) ]] in bash
detailsdetailsdetails
21pass pass pass pass With extglob on, !($str) on the left or right of == has different meanings
22pass BUG pass pass extglob inside arg word
details
23pass N-I pass pass extglob is not detected in regex!
details
24pass BUG pass pass regular glob of single unicode char
details
25pass BUG pass pass extended glob of single unicode char
details
95 passed, 3 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:
osh_ALT20 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