Results for ysh-var-sub.test.sh

statusosh
FAIL 4
total4
caseoshdescription
0FAIL ${x|html}
details
1FAIL ${x %05d}
details
2FAIL ${.myproc builtin sub}
details
3FAIL $[x] with _ESCAPER
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
4 failed under osh

Details on runs that didn't PASS

osh0 ${x|html}

[osh stdout] Expected 'echo hi 2>&1\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  echo "${x|html}"
           ^
[ stdin ]:2: fatal: Not implemented
osh1 ${x %05d}

[osh stdout] Expected '00003\n00003\n', got '00003\n'
[osh status] Expected 0, got 1

stdout:
00003
stderr:
  echo ${x %05d}
          ^
[ stdin ]:3: fatal: Not implemented
osh2 ${.myproc builtin sub}

[osh stdout] Expected 'builtin sub\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
  proc myproc() {
             ^
[ stdin ]:1: Unexpected left paren (might need a space before it)
osh3 $[x] with _ESCAPER

[osh stdout] Expected 'code echo hi 2>&1\n', got 'code echo hi 2>&1\ncode echo hi 2>&1\n'

stdout:
code echo hi 2>&1
code echo hi 2>&1
stderr: