Results for ysh-TODO-deprecate.test.sh

statusoshosh_ALT
pass 87
FAIL 12
total99
caseoshosh_ALTdescription
0FAIL FAIL oil:upgrade as alias for ysh:upgrade
detailsdetails
1pass pass %() array literal
2pass pass _match() instead of _group()
3pass pass _status instead of _error.code
4pass FAIL source ///osh/two.sh rather than source --builtin osh/two.sh
details
5pass pass OILS_VERSION, not OIL_VERSION
6pass pass s.upper(), not s => upper() (might keep this)
7pass pass fopen can be spelled redir
8pass pass Dict => keys()
15 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh0 oil:upgrade as alias for ysh:upgrade

[osh stdout] Expected 'shopt -u simple_word_eval\nshopt -s simple_word_eval\nshopt -u simple_word_eval\n' Got 'shopt -u simple_word_eval\nshopt -s simple_word_eval\n'
[osh status] Expected 0, got 1

stdout:
shopt -u simple_word_eval
shopt -s simple_word_eval
stderr:
  shopt -p | grep simple_word
  ^~~~~
[ stdin ]:3: errexit PID 38350: command.Simple failed with status 1
  shopt -p | grep simple_word
  ^~~~~
[ stdin ]:3: errexit PID 38345: command.Pipeline failed with status 1
osh_ALT0 oil:upgrade as alias for ysh:upgrade

[osh_ALT stdout] Expected 'shopt -u simple_word_eval\nshopt -s simple_word_eval\nshopt -u simple_word_eval\n' Got 'shopt -u simple_word_eval\nshopt -s simple_word_eval\n'
[osh_ALT status] Expected 0, got 1

stdout:
shopt -u simple_word_eval
shopt -s simple_word_eval
stderr:
  shopt -p | grep simple_word
  ^~~~~
[ stdin ]:3: errexit PID 38355: command.Simple failed with status 1
  shopt -p | grep simple_word
  ^~~~~
[ stdin ]:3: errexit PID 38352: command.Pipeline failed with status 1
osh_ALT4 source ///osh/two.sh rather than source --builtin osh/two.sh

[osh_ALT stdout] Expected 'status=0\n', got 'status=1\n'

stdout:
status=1
stderr:
  source --builtin osh/two.sh
                   ^~~
[ stdin ]:1: 'source' failed: No builtin file 'stdlib/osh/two.sh'