spec test index / oilshell.org
42 passed, 6 OK, 4 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 5 trap DEBUG with 'return' stdout: [7]stderr: |
osh-cpp | 5 trap DEBUG with 'return' stdout: [7]stderr: |
osh | 11 One 'echo' in first pipeline part - why does bash behave differently from case above? stdout: LINENO=7 pipeline LINENO=8 okstderr: |
osh-cpp | 11 One 'echo' in first pipeline part - why does bash behave differently from case above? stdout: LINENO=7 pipeline LINENO=8 okstderr: |
osh | 12 trap DEBUG and pipeline (lastpipe difference) stdout: [6] a [6] b [8] 2 [10] 1 [14] 1stderr: |
osh-cpp | 12 trap DEBUG and pipeline (lastpipe difference) stdout: [6] a [6] b [8] 2 [10] 1 [14] 1stderr: |
osh | 15 trap DEBUG for each stdout: [7] x=1 [7] x=2 [10] okstderr: |
osh-cpp | 15 trap DEBUG for each stdout: [7] x=1 [7] x=2 [10] okstderr: |
osh | 16 trap DEBUG for expr stdout: [7] i=3 [7] i=4 [10] okstderr: |
osh-cpp | 16 trap DEBUG for expr stdout: [7] i=3 [7] i=4 [10] okstderr: |
osh | 18 trap RETURN [osh stdout] Expected '--\nf\n--\n--\ng\n--\nreturn-helper.sh\nprofile [x y]\n' Got '--\nf\n--\n--\ng\n--\nreturn-helper.sh\n' stdout: -- f -- -- g -- return-helper.shstderr: osh warning: The 'RETURN' hook isn't implemented |
osh-cpp | 18 trap RETURN [osh-cpp stdout] Expected '--\nf\n--\n--\ng\n--\nreturn-helper.sh\nprofile [x y]\n' Got '--\nf\n--\n--\ng\n--\nreturn-helper.sh\n' stdout: -- f -- -- g -- return-helper.shstderr: osh warning: The 'RETURN' hook isn't implemented |
osh | 19 Compare trap DEBUG vs. trap ERR [osh stdout] Expected 'dbg 3\ndbg 3\ndbg 3\ndbg 5\ndbg 5\ndbg 5\ndbg 7\ndbg 9\nerr 14\nerr 16\nok\n' Got 'dbg 3\ndbg 5\ndbg 5\ndbg 5\ndbg 7\ndbg 9\nerr 14\nerr 16\nok\n' stdout: dbg 3 dbg 5 dbg 5 dbg 5 dbg 7 dbg 9 err 14 err 16 okstderr: |
osh-cpp | 19 Compare trap DEBUG vs. trap ERR [osh-cpp stdout] Expected 'dbg 3\ndbg 3\ndbg 3\ndbg 5\ndbg 5\ndbg 5\ndbg 7\ndbg 9\nerr 14\nerr 16\nok\n' Got 'dbg 3\ndbg 5\ndbg 5\ndbg 5\ndbg 7\ndbg 9\nerr 14\nerr 16\nok\n' stdout: dbg 3 dbg 5 dbg 5 dbg 5 dbg 7 dbg 9 err 14 err 16 okstderr: |
osh | 28 trap ERR shadowing without errtrace (+E) [osh stdout] Expected 'ERR\nERRx\nERR2\nERR\nERRx\nERR3\nERR\nERRx\nERR4\nERR4\nERRx\nERR5\nERR\nERRx\nERR6\nERR\nERR\nERRx\nERR7\nERR7\nERR7\nERRx\n' Got 'ERR\nERRx\nERR2\nERR\nERRx\nERR3\nERR\nERRx\nERR4\nERR4\nERRx\nERR5\nERR\nERRx\nERR6\nERR\nERR\nERRx\nERR7\nERR7\nERRx\n' stdout: ERR ERRx ERR2 ERR ERRx ERR3 ERR ERRx ERR4 ERR4 ERRx ERR5 ERR ERRx ERR6 ERR ERR ERRx ERR7 ERR7 ERRxstderr: date: invalid date ‘X’ date: invalid date ‘X’ date: invalid date ‘X’ date: invalid date ‘X’ [1] Done PID 10309 date: invalid date ‘X’ date: invalid date ‘X’ date: invalid date ‘X’ |
osh-cpp | 28 trap ERR shadowing without errtrace (+E) [osh-cpp stdout] Expected 'ERR\nERRx\nERR2\nERR\nERRx\nERR3\nERR\nERRx\nERR4\nERR4\nERRx\nERR5\nERR\nERRx\nERR6\nERR\nERR\nERRx\nERR7\nERR7\nERR7\nERRx\n' Got 'ERR\nERRx\nERR2\nERR\nERRx\nERR3\nERR\nERRx\nERR4\nERR4\nERRx\nERR5\nERR\nERRx\nERR6\nERR\nERR\nERRx\nERR7\nERR7\nERRx\n' stdout: ERR ERRx ERR2 ERR ERRx ERR3 ERR ERRx ERR4 ERR4 ERRx ERR5 ERR ERRx ERR6 ERR ERR ERRx ERR7 ERR7 ERRxstderr: date: invalid date ‘X’ date: invalid date ‘X’ date: invalid date ‘X’ date: invalid date ‘X’ [1] Done PID 10350 date: invalid date ‘X’ date: invalid date ‘X’ date: invalid date ‘X’ |