Results for ysh-builtin-shopt.test.sh

statusoshosh-cpp
pass 66
FAIL 33
total99
caseoshosh-cppdescription
0FAIL FAIL shopt supports long flags
detailsdetails
1pass pass shopt supports 'set' options
2pass pass shopt --unset errexit { }
3pass pass shopt -p works correctly inside block
4FAIL FAIL shopt --set GROUP { }
detailsdetails
5pass pass shopt and block status
6pass pass shopt usage error
7pass pass shopt -p
8FAIL FAIL TODO: all options as a table
detailsdetails
12 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

osh0 shopt supports long flags

[osh status] Expected 0, got 1

stdout:
shopt -u nullglob
shopt -s nullglob
shopt -u nullglob
stderr:
osh-cpp0 shopt supports long flags

[osh-cpp status] Expected 0, got 1

stdout:
shopt -u nullglob
shopt -s nullglob
shopt -u nullglob
stderr:
osh4 shopt --set GROUP { }

[osh stdout] Expected 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -u strict_errexit\nshopt -s verbose_errexit\n---\nshopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -s strict_errexit\nshopt -u verbose_errexit\n' Got 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n'
[osh status] Expected 0, got 1

stdout:
shopt -u command_sub_errexit
shopt -u inherit_errexit
shopt -u strict_errexit
shopt -u verbose_errexit
---
shopt -s command_sub_errexit
shopt -s inherit_errexit
shopt -s strict_errexit
shopt -s verbose_errexit
stderr:
    shopt -p | grep errexit
    ^~~~~
[ stdin ]:7: errexit PID 28121: command.Simple failed with status 1
osh-cpp4 shopt --set GROUP { }

[osh-cpp stdout] Expected 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -u strict_errexit\nshopt -s verbose_errexit\n---\nshopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -s strict_errexit\nshopt -u verbose_errexit\n' Got 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n'
[osh-cpp status] Expected 0, got 1

stdout:
shopt -u command_sub_errexit
shopt -u inherit_errexit
shopt -u strict_errexit
shopt -u verbose_errexit
---
shopt -s command_sub_errexit
shopt -s inherit_errexit
shopt -s strict_errexit
shopt -s verbose_errexit
stderr:
    shopt -p | grep errexit
    ^~~~~
[ stdin ]:7: errexit PID 28133: command.Simple failed with status 1
osh8 TODO: all options as a table

[osh status] Expected 0, got 2

stdout:
stderr: 
  shopt --table
        ^~~~~~~
[ stdin ]:1: 'shopt' got invalid flag '--table'
osh-cpp8 TODO: all options as a table

[osh-cpp status] Expected 0, got 2

stdout:
stderr: 
  shopt --table
        ^~~~~~~
[ stdin ]:1: 'shopt' got invalid flag '--table'