68 passed, 2 OK, 2 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 2 indexed LHS with spaces (not allowed in OSH) stdout: status=127 []stderr: a[1 * 1]=x a[ 1 + 2 ]=z ^~ [ stdin ]:1: 'a[1' not found (OILS-ERR-100) |
osh-cpp | 2 indexed LHS with spaces (not allowed in OSH) stdout: status=127 []stderr: a[1 * 1]=x a[ 1 + 2 ]=z ^~ [ stdin ]:1: 'a[1' not found (OILS-ERR-100) |
osh | 5 declare -F with shopt -s extdebug prints more info [osh stdout] Expected 'declare -f add\ndeclare -f g\n\nadd 7 main\ng 3 ROOT/spec/testdata/bash-source-2.sh\n' Got 'declare -f add\ndeclare -f g\n\nadd\ng\n' stdout: declare -f add declare -f g add gstderr: shopt -s extdebug ^~~~~ [ stdin ]:5: 'shopt' got invalid option 'extdebug' |
osh-cpp | 5 declare -F with shopt -s extdebug prints more info [osh-cpp stdout] Expected 'declare -f add\ndeclare -f g\n\nadd 7 main\ng 3 ROOT/spec/testdata/bash-source-2.sh\n' Got 'declare -f add\ndeclare -f g\n\nadd\ng\n' stdout: declare -f add declare -f g add gstderr: shopt -s extdebug ^~~~~ [ stdin ]:5: 'shopt' got invalid option 'extdebug' |
osh | 29 myvar=typeset (another form of dynamic assignment) stdout: a bstderr: |
osh-cpp | 29 myvar=typeset (another form of dynamic assignment) stdout: a bstderr: |