Results for case_.test.sh

statusoshosh-cpp
pass 99
FAIL 33
total1212
caseoshosh-cppdescription
0pass pass Case statement
1FAIL FAIL Case statement with ;;&
detailsdetails
2FAIL FAIL Case statement with ;&
detailsdetails
3pass pass Case with empty condition
4pass pass Match a literal with a glob character
5pass pass Match a literal with a glob character with a dynamic pattern
6pass pass Quoted literal in glob pattern
7pass pass Multiple Patterns Match
8pass pass Match one unicode char
9FAIL FAIL case with single byte LC_ALL=C
detailsdetails
10pass pass \(\) in pattern (regression)
11pass pass case \n bug regression
18 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

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
osh-cpp1 Case statement with ;;&

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

stdout:
stderr: 
    a) echo A ;;&
                ^
[ stdin ]:2: Expected word type Id.KW_Esac, got Id.Op_Amp
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
osh-cpp2 Case statement with ;&

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

stdout:
stderr: 
    a) echo A ;&
               ^
[ stdin ]:2: Invalid word while parsing command
osh9 case with single byte LC_ALL=C

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

stdout:
a
stderr:
osh-cpp9 case with single byte LC_ALL=C

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

stdout:
a
stderr: