ysh-dev () { run-file ysh-dev "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" } ysh-dev: spec test case results

Results for ysh-dev.test.sh

statusoshosh_ALT
pass 22
FAIL 22
total44
caseoshosh_ALTdescription
0FAIL FAIL argv0 trace
detailsdetails
1FAIL FAIL crash dump
detailsdetails
2pass pass crash dump with source
3pass pass --tool cat-em
4 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh0 argv0 trace

[osh status] Expected 0, got 127

stdout:
internal
x1
x2
(
$(
)
x3
stderr:
[32841] Wrote metrics dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/00-osh/32841.argv0.json
[32847] Wrote metrics dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/00-osh/32847.argv0.json
[32838] Wrote metrics dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/00-osh/32838.argv0.json
    python3 -m json.tool $j >/dev/null
    ^~~~~~~
[ stdin ]:23: 'python3' not found (OILS-ERR-100)
    python3 -m json.tool $j >/dev/null
    ^~~~~~~
[ stdin ]:23: 'python3' not found (OILS-ERR-100)
    python3 -m json.tool $j >/dev/null
    ^~~~~~~
[ stdin ]:23: 'python3' not found (OILS-ERR-100)
osh_ALT0 argv0 trace

[osh_ALT status] Expected 0, got 127

stdout:
internal
x1
x2
(
$(
)
x3
stderr:
[32853] Wrote metrics dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/00-osh_ALT/32853.argv0.json
[32859] Wrote metrics dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/00-osh_ALT/32859.argv0.json
[32852] Wrote metrics dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/00-osh_ALT/32852.argv0.json
    python3 -m json.tool $j >/dev/null
    ^~~~~~~
[ stdin ]:23: 'python3' not found (OILS-ERR-100)
    python3 -m json.tool $j >/dev/null
    ^~~~~~~
[ stdin ]:23: 'python3' not found (OILS-ERR-100)
    python3 -m json.tool $j >/dev/null
    ^~~~~~~
[ stdin ]:23: 'python3' not found (OILS-ERR-100)
osh1 crash dump

[osh stdout] Expected 'status=1\nstatus=0\n', got 'status=1\nstatus=127\n'

stdout:
status=1
status=127
stderr:
    echo $(( 1 / 0 ))
               ^
[ -c flag ]:4: fatal: Divide by zero
[32867] Wrote crash dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/01-osh/32867-osh-crash-dump.json
  python3 -c '
  ^~~~~~~
[ stdin ]:19: 'python3' not found (OILS-ERR-100)
osh_ALT1 crash dump

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

stdout:
status=1
status=127
stderr:
    echo $(( 1 / 0 ))
               ^
[ -c flag ]:4: fatal: Divide by zero
[32872] Wrote crash dump to /home/uke/oil/_tmp/spec-tmp/ysh-dev.test.sh.32828/01-osh_ALT/32872-osh-crash-dump.json
  python3 -c '
  ^~~~~~~
[ stdin ]:19: 'python3' not found (OILS-ERR-100)