Results for extglob-match.test.sh

statusoshosh_.pyosh_.cc
pass 252323
ok 111
FAIL 133
total272727
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
26FAIL FAIL FAIL Extended glob in ${x//pat/replace}
detailsdetailsdetails
71 passed, 3 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped
1 failed under osh

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 = 2475
	gNumDelete = 240
	gMemPos = 81120

	gNumMalloc = 248
	gNumFree = 0
	gMemPos2 = 13168
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 = 2119
	gNumDelete = 186
	gMemPos = 71488

	gNumMalloc = 164
	gNumFree = 0
	gMemPos2 = 11824
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 = 2144
	gNumDelete = 194
	gMemPos = 72176

	gNumMalloc = 166
	gNumFree = 0
	gMemPos2 = 11856
osh26 Extended glob in ${x//pat/replace}

[osh stdout] Expected 'foZ\n', got 'foo.py\n'

stdout:
foo.py
stderr:
osh_.py26 Extended glob in ${x//pat/replace}

[osh_.py stdout] Expected 'foZ\n', got 'foo.py\n'

stdout:
foo.py
stderr:
osh_.cc26 Extended glob in ${x//pat/replace}

[osh_.cc stdout] Expected 'foZ\n', got 'foo.py\n'

stdout:
foo.py
stderr:
dumb_alloc:
	gNumNew = 2009
	gNumDelete = 165
	gMemPos = 68608

	gNumMalloc = 154
	gNumFree = 0
	gMemPos2 = 11664