Results for case_.test.sh

statusbashdashmkshosh
pass 128109
ok 0010
N-I 0300
BUG 0110
FAIL 0003
total12121212
casebashdashmkshoshdescription
0pass pass pass pass Case statement
1pass N-I pass FAIL Case statement with ;;&
detailsdetails
2pass N-I 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
8pass BUG BUG pass Match one unicode char
detailsdetails
9pass pass pass FAIL case with single byte LC_ALL=C
details
10pass N-I pass pass \(\) in pattern (regression)
details
11pass pass ok pass case \n bug regression
details
39 passed, 1 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 '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 '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:
mksh11 case \n bug regression

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: 'newline' unexpected