Results for case_.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 1311124111011
ok 0100001
BUG 0100000
FAIL 0019230
TIME 0000001
total13131313131313
casebashmkshkshtoyshsushbrushoshdescription
0pass pass pass FAIL pass pass pass Case statement
details
1pass pass pass pass pass pass pass Case statement with ;;&
2pass pass pass FAIL pass pass pass Case statement with ;&
details
3pass pass pass FAIL pass pass pass Case with empty condition
details
4pass pass pass pass pass pass pass Match a literal with a glob character
5pass pass pass FAIL pass pass pass Match a literal with a glob character with a dynamic pattern
details
6pass pass pass pass pass pass pass Quoted literal in glob pattern
7pass pass pass FAIL FAIL pass pass Multiple Patterns Match
detailsdetails
8pass BUG pass FAIL pass pass pass Pattern ? matches 1 code point (many bytes), but not multiple code points
detailsdetails
9pass pass pass FAIL pass FAIL ok matching the byte 0xff against empty string - DISABLED - CI only bug?
detailsdetailsdetails
10pass pass pass FAIL pass FAIL TIME matching every byte against itself
detailsdetailsdetails
11pass pass pass FAIL FAIL pass pass \(\) in pattern (regression)
detailsdetails
12pass ok FAIL pass pass FAIL pass case \n bug regression
detailsdetailsdetails
72 passed, 2 OK, 0 not implemented, 1 BUG, 15 failed, 1 timeouts, 0 cases skipped

Details on runs that didn't PASS

toysh0 Case statement

[toysh stdout] Expected 'A\nloop\nloop\n', got 'A\nloop\n'
[toysh status] Expected 0, got -6

stdout:
A
loop
stderr:
free(): invalid pointer
toysh2 Case statement with ;&

[toysh stdout] Expected 'aa\nbb\ncc\n--\nbb\ncc\n--\ncc\n--\ndd\n--\n--\n', got 'aa\nbb\ncc\n'
[toysh status] Expected 0, got -6

stdout:
aa
bb
cc
stderr:
free(): invalid pointer
toysh3 Case with empty condition

[toysh stdout] Expected 'match\n', got ''
[toysh status] Expected 0, got -11

stdout:
stderr: 
toysh5 Match a literal with a glob character with a dynamic pattern

[toysh stdout] Expected 'match\n', got ''

stdout:
stderr: 
toysh7 Multiple Patterns Match

[toysh stdout] Expected '- X\n', got '-\n'

stdout:
-
stderr:
sush7 Multiple Patterns Match

[sush stdout] Expected '- X\n', got '- X X\n'

stdout:
- X X
stderr:
mksh8 Pattern ? matches 1 code point (many bytes), but not multiple code points

stdout:
yes
no
no
stderr:
toysh8 Pattern ? matches 1 code point (many bytes), but not multiple code points

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

stdout:
yes
stderr:
free(): invalid pointer
toysh9 matching the byte 0xff against empty string - DISABLED - CI only bug?

[toysh stdout] Expected 'b\nb\n', got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
brush9 matching the byte 0xff against empty string - DISABLED - CI only bug?

[brush stdout] Expected 'b\nb\n', got 'a\na\n'

stdout:
a
a
stderr:
ERROR error: i/o error: stream did not contain valid UTF-8
osh9 matching the byte 0xff against empty string - DISABLED - CI only bug?

stdout:
soil-ci-buster-slim-bug
stderr:
toysh10 matching every byte against itself

[toysh stdout] Expected 'sum=255\n', got '[bug i=33 hex=21 c=!]\n[bug i=43 hex=2b c=+]\n[bug i=64 hex=40 c=@]\n[bug i=124 hex=7c c=|]\nsum=251\n'

stdout:
[bug i=33 hex=21 c=!]
[bug i=43 hex=2b c=+]
[bug i=64 hex=40 c=@]
[bug i=124 hex=7c c=|]
sum=251
stderr:
brush10 matching every byte against itself

[brush stdout] Expected 'sum=255\n', got 'sum=127\n'

stdout:
sum=127
stderr:
ERROR error: i/o error: stream did not contain valid UTF-8
toysh11 \(\) in pattern (regression)

[toysh stdout] Expected 'match\nextglob\n', got 'match\n'
[toysh status] Expected 0, got -6

stdout:
match
stderr:
free(): invalid pointer
sush11 \(\) in pattern (regression)

[sush stdout] Expected 'match\nextglob\n', got 'extglob\n'

stdout:
extglob
stderr:
mksh12 case \n bug regression

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: 'newline' unexpected
ksh12 case \n bug regression

[ksh status] Expected 2, got 1

stdout:
stderr: 
E: ksh: <stdin>[1]: syntax error: unexpected 'newline'
brush12 case \n bug regression

[brush status] Expected 2, got 0

stdout:
stderr: 
ERROR main: syntax error near token `
' (line 1 col 5)
ERROR main: syntax error near token `esac' (line 1 col 4)