Results for case_.test.sh

statusdashbashmkshosh
pass 711108
N-I 3000
BUG 1010
FAIL 0003
total11111111
casedashbashmkshoshdescription
0pass pass pass pass Case statement
1N-I pass pass FAIL Case statement with ;;&
detailsdetails
2N-I pass pass FAIL Case statement with ;&
detailsdetails
3pass pass pass pass Case with empty condition
4pass pass pass pass Match a literal with a glob character
5pass pass pass pass Match a literal with a glob character with a dynamic pattern
6pass pass pass pass Quoted literal in glob pattern
7pass pass pass pass Multiple Patterns Match
8BUG pass BUG pass Match one unicode char
detailsdetails
9pass pass pass FAIL case with single byte LC_ALL=C
details
10N-I pass pass pass \(\) in pattern (regression)
details
36 passed, 0 OK, 3 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: 
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
dash2 Case statement with ;&

stdout:
stderr: 
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
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:
dash10 \(\) in pattern (regression)

stdout:
match
stderr: