Results for serialize.test.sh

statusoshosh-cpp
pass 76
ok 32
FAIL 02
total1010
caseoshosh-cppdescription
0pass FAIL printf %q newline
details
1pass pass printf %q spaces
2ok FAIL printf %q quotes
detailsdetails
3ok ok printf %q unprintable
detailsdetails
4ok ok printf %q unicode
detailsdetails
5pass pass printf %q invalid unicode
6pass pass set
7pass pass declare
8pass pass ${var@Q}
9pass pass xtrace
13 passed, 5 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp0 printf %q newline

[osh-cpp stdout] Expected "$'one\\ntwo'\nroundtrip-ok\n", got "$'one\\ntwo'\n"
[osh-cpp status] Expected 0, got -6

stdout:
$'one\ntwo'
stderr:
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh2 printf %q quotes

stdout:
$'\'"'
roundtrip-ok
stderr:
osh-cpp2 printf %q quotes

[osh-cpp stdout] Expected '$\'\\\'"\'\nroundtrip-ok\n', got '$\'\\\'"\'\n'
[osh-cpp status] Expected 0, got -6

stdout:
$'\'"'
stderr:
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh3 printf %q unprintable

stdout:
$'\xff'
stderr:
osh-cpp3 printf %q unprintable

stdout:
$'\xff'
stderr:
osh4 printf %q unicode

stdout:
'μ'
stderr:
osh-cpp4 printf %q unicode

stdout:
'μ'
stderr: