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

Results for ysh-word-eval.test.sh

statusoshosh_ALT
pass 1010
FAIL 11
total1111
caseoshosh_ALTdescription
0pass pass Splice in array
1pass pass Assoc array can't be spliced directly
2pass pass Can't splice string
3pass pass Can't splice undefined
4pass pass echo $[f(x)] for various types
5pass pass echo $f (x) with space is runtime error
6pass pass echo @f (x) with space is runtime error
7pass pass echo $x for various types
8pass pass Wrong sigil with $range() is runtime error
9FAIL FAIL Serializing type in a list
detailsdetails
10pass pass Wrong sigil @[max(3, 4)]
20 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

osh9 Serializing type in a list

[osh status] Expected 3, got 1

stdout:
3
true
___
stderr:
  var list2 = [List]
               ^~~~
[ stdin ]:9: fatal: Undefined variable 'List'
osh_ALT9 Serializing type in a list

[osh_ALT status] Expected 3, got 1

stdout:
3
true
___
stderr:
  var list2 = [List]
               ^~~~
[ stdin ]:9: fatal: Undefined variable 'List'