Results for extglob-match.test.sh

statusoshosh_.pyosh_.cc
pass 252323
ok 111
FAIL 022
total262626
caseoshosh_.pyosh_.ccdescription
0pass pass pass @ matches exactly one
1pass pass pass @() with variable arms
2pass pass pass extglob in variable
3pass pass pass nested @()
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) ]]
20ok ok ok Turning extglob on changes the meaning of [[ !(str) ]] in bash
detailsdetailsdetails
21pass pass pass With extglob on, !($str) on the left or right of == has different meanings
22pass pass pass extglob inside arg word
23pass pass pass extglob is not detected in regex!
24pass FAIL FAIL regular glob of single unicode char
detailsdetails
25pass FAIL FAIL extended glob of single unicode char
detailsdetails
71 passed, 3 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
osh_.py20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
osh_.cc20 Turning extglob on changes the meaning of [[ !(str) ]] in bash

stdout:
TRUE
TRUE
TRUE
stderr:
dumb_alloc:
	gNumNew = 2469
	gNumDelete = 240
	gMemPos = 80928

	gNumMalloc = 248
	gNumFree = 0
	gMemPos2 = 12544
osh_.py24 regular glob of single unicode char

[osh_.py stdout] Expected '0\n0\n', got '0\n1\n'

stdout:
0
1
stderr:
osh_.cc24 regular glob of single unicode char

[osh_.cc stdout] Expected '0\n0\n', got '0\n1\n'

stdout:
0
1
stderr:
dumb_alloc:
	gNumNew = 2113
	gNumDelete = 186
	gMemPos = 71296

	gNumMalloc = 164
	gNumFree = 0
	gMemPos2 = 11200
osh_.py25 extended glob of single unicode char

[osh_.py stdout] Expected '0\n0\n', got '0\n1\n'

stdout:
0
1
stderr:
osh_.cc25 extended glob of single unicode char

[osh_.cc stdout] Expected '0\n0\n', got '0\n1\n'

stdout:
0
1
stderr:
dumb_alloc:
	gNumNew = 2138
	gNumDelete = 194
	gMemPos = 71984

	gNumMalloc = 166
	gNumFree = 0
	gMemPos2 = 11232