Results for ysh-funcs-external.test.sh

statusyshysh-cpp
FAIL 33
total33
caseyshysh-cppdescription
0FAIL FAIL JSON func on top of proc
detailsdetails
1FAIL FAIL QTT func on top of proc
detailsdetails
2FAIL FAIL QTT func on top of wok
detailsdetails
0 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

ysh0 JSON func on top of proc

[ysh stdout] Expected 'TODO\nresult = 3\n', got 'result = 3\n'

stdout:
result = 3
stderr:
(List)   [1, 2]
ysh-cpp0 JSON func on top of proc

[ysh-cpp stdout] Expected 'TODO\nresult = 3\n', got 'result = 3\n'

stdout:
result = 3
stderr:
(List)   [1, 2]
ysh1 QTT func on top of proc

[ysh status] Expected 0, got 2

stdout:
stderr: 
      const result = _row->x + _row->y
      ^~~~~
[ stdin ]:9: const can't be inside proc or func.  Use var instead.
ysh-cpp1 QTT func on top of proc

[ysh-cpp status] Expected 0, got 2

stdout:
stderr: 
      const result = _row->x + _row->y
      ^~~~~
[ stdin ]:9: const can't be inside proc or func.  Use var instead.
ysh2 QTT func on top of wok

[ysh status] Expected 0, got 1

stdout:
stderr: 
  wok foo {
          ^
[ stdin ]:1: fatal: 'wok' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh-cpp2 QTT func on top of wok

[ysh-cpp status] Expected 0, got 1

stdout:
stderr: 
  wok foo {
          ^
[ stdin ]:1: fatal: 'wok' appears to be external. External commands don't accept typed args (OILS-ERR-200)