Results for case_.test.sh

statusoshosh_.pyosh_.cc
pass 887
FAIL 334
total111111
caseoshosh_.pyosh_.ccdescription
0pass pass pass Case statement
1FAIL FAIL FAIL Case statement with ;;&
detailsdetailsdetails
2FAIL FAIL FAIL Case statement with ;&
detailsdetailsdetails
3pass pass pass Case with empty condition
4pass pass pass Match a literal with a glob character
5pass pass pass Match a literal with a glob character with a dynamic pattern
6pass pass pass Quoted literal in glob pattern
7pass pass pass Multiple Patterns Match
8pass FAIL FAIL Match one unicode char
detailsdetails
9FAIL pass FAIL case with single byte LC_ALL=C
detailsdetails
10pass pass pass \(\) in pattern (regression)
23 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

osh1 Case statement with ;;&

[osh stdout] Expected u'A\nstar\nstar2\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
    a) echo A ;;&
                ^
[ stdin ]:2: Expected word type Id.KW_Esac, got Id.Op_Amp
osh_.py1 Case statement with ;;&

[osh_.py stdout] Expected u'A\nstar\nstar2\n', got ''
[osh_.py status] Expected 0, got 2

stdout:
stderr: 
    a) echo A ;;&
                ^
[ stdin ]:2: Expected word type Id.KW_Esac, got Id.Op_Amp
osh_.cc1 Case statement with ;;&

[osh_.cc stdout] Expected u'A\nstar\nstar2\n', got ''
[osh_.cc status] Expected 0, got 2

stdout:
stderr: 
    a) echo A ;;&
                ^
[ stdin ]:2: dynamic_fmt_dummy

dumb_alloc:
	gNumNew = 1685
	gNumDelete = 108
	gMemPos = 59376

	gNumMalloc = 44
	gNumFree = 0
	gMemPos2 = 9888
osh2 Case statement with ;&

[osh stdout] Expected u'A\ntwo\nthree\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
    a) echo A ;&
               ^
[ stdin ]:2: Invalid word while parsing command
osh_.py2 Case statement with ;&

[osh_.py stdout] Expected u'A\ntwo\nthree\n', got ''
[osh_.py status] Expected 0, got 2

stdout:
stderr: 
    a) echo A ;&
               ^
[ stdin ]:2: Invalid word while parsing command
osh_.cc2 Case statement with ;&

[osh_.cc stdout] Expected u'A\ntwo\nthree\n', got ''
[osh_.cc status] Expected 0, got 2

stdout:
stderr: 
    a) echo A ;&
               ^
[ stdin ]:2: Invalid word while parsing command

dumb_alloc:
	gNumNew = 1677
	gNumDelete = 106
	gMemPos = 59184

	gNumMalloc = 43
	gNumFree = 0
	gMemPos2 = 9872
osh_.py8 Match one unicode char

[osh_.py stdout] Expected 'yes\nyes\nno\n', got 'yes\nno\nno\n'

stdout:
yes
no
no
stderr:
osh_.cc8 Match one unicode char

[osh_.cc stdout] Expected 'yes\nyes\nno\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh9 case with single byte LC_ALL=C

[osh stdout] Expected 'b\n', got 'a\n'

stdout:
a
stderr:
osh_.cc9 case with single byte LC_ALL=C

[osh_.cc stdout] Expected 'b\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.