Results for case_.test.sh

statusdashbashmkshoshosh_ALT
pass 710977
N-I 20000
BUG 10100
FAIL 00033
total1010101010
casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass Case statement
1N-I pass pass FAIL FAIL Case statement with ;;&
detailsdetailsdetails
2N-I pass pass FAIL FAIL Case statement with ;&
detailsdetailsdetails
3pass pass pass pass pass Case with empty condition
4pass pass pass pass pass Match a literal with a glob character
5pass pass pass pass pass Match a literal with a glob character with a dynamic pattern
6pass pass pass pass pass Quoted literal in glob pattern
7pass pass pass pass pass Multiple Patterns Match
8BUG pass BUG pass pass Match one unicode char
detailsdetails
9pass pass pass FAIL FAIL case with single byte LC_ALL=C
detailsdetails
40 passed, 0 OK, 2 not implemented, 2 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

dash1 Case statement with ;;&

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: Syntax error: newline unexpected (expecting ")")
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_ALT1 Case statement with ;;&

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

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: Syntax error: "&" unexpected
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_ALT2 Case statement with ;&

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

stdout:
stderr: 
    a) echo A ;&
               ^
[ stdin ]:2: Invalid word while parsing command
dash8 Match one unicode char

stdout:
yes
no
no
stderr:
mksh8 Match one unicode char

stdout:
yes
no
no
stderr:
osh9 case with single byte LC_ALL=C

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

stdout:
a
stderr:
osh_ALT9 case with single byte LC_ALL=C

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

stdout:
a
stderr: