Results for ysh-word-eval.test.sh

statusoshosh-cpp
pass 108
FAIL 13
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 pass Wrong sigil @[max(3, 4)]
18 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 'bool true\nint 2\nfloat 3.1400000000000001\nstr identity\n---\nbool expr true\nbool splice true\n'

stdout:
bool true
int 2
float 3.1400000000000001
str identity
---
bool expr true
bool splice true
stderr:
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'