Results for ysh-word-eval.test.sh

statusoshosh-cpp
pass 107
FAIL 14
total1111
caseoshosh-cppdescription
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 FAIL echo $[f(x)] for various types
details
5pass pass echo $f (x) with space is runtime error
6pass pass echo @f (x) with space is runtime error
7pass FAIL echo $x for various types
details
8pass pass Wrong sigil with $range() is runtime error
9FAIL FAIL Serializing type in a list
detailsdetails
10pass FAIL Wrong sigil @[max(3, 4)]
details
17 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

osh-cpp4 echo $[f(x)] for various types

[osh-cpp stdout] Expected 'bool true\nint 2\nfloat 3.14\nstr identity\n---\nbool expr true\nbool splice true\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp7 echo $x for various types

[osh-cpp stdout] Expected 'true\n42\n3.14\n', got 'true\n42\n3.1400000000000001\n'

stdout:
true
42
3.1400000000000001
stderr:
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-cpp9 Serializing type in a list

[osh-cpp status] Expected 3, got 1

stdout:
3
true
___
stderr:
  var list2 = [List]
               ^~~~
[ stdin ]:9: fatal: Undefined variable 'List'
osh-cpp10 Wrong sigil @[max(3, 4)]

[osh-cpp status] Expected 3, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core