spec test index / oilshell.org
52 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 failed under osh
osh | 13 Mixing read --line with read -r [osh stdout] Expected 'TODO\n', got 'read -r\nREPLY=1\nREPLY=2\n\nread --line\n_reply=\n_reply=\n\nMixed\nREPLY=1\nREPLY=2\n_reply=\nREPLY=3\n' stdout: read -r REPLY=1 REPLY=2 read --line _reply= _reply= Mixed REPLY=1 REPLY=2 _reply= REPLY=3stderr: read --line ^~~~ /home/uke/oil/spec/testdata/ysh-read-0.sh:14: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) read --line ^~~~ /home/uke/oil/spec/testdata/ysh-read-0.sh:17: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) read --line ^~~~ /home/uke/oil/spec/testdata/ysh-read-0.sh:30: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) |
osh_ALT | 13 Mixing read --line with read -r [osh_ALT stdout] Expected 'TODO\n', got 'read -r\nREPLY=1\nREPLY=2\n\nread --line\n_reply=\n_reply=\n\nMixed\nREPLY=1\nREPLY=2\n_reply=\nREPLY=3\n' stdout: read -r REPLY=1 REPLY=2 read --line _reply= _reply= Mixed REPLY=1 REPLY=2 _reply= REPLY=3stderr: read --line ^~~~ /home/uke/oil/test/../spec/testdata/ysh-read-0.sh:14: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) read --line ^~~~ /home/uke/oil/test/../spec/testdata/ysh-read-0.sh:17: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) read --line ^~~~ /home/uke/oil/test/../spec/testdata/ysh-read-0.sh:30: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) |
osh | 14 read --line --with-eol [osh stdout] Expected 'reply=1\nreply=2\nreply=3\nmyline=a\nmyline=b\n' Got '' stdout: stderr: seq 3 | while read --line { ^~~~ /home/uke/oil/spec/testdata/ysh-read-1.sh:6: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) seq 3 | while read --line { ^~~ /home/uke/oil/spec/testdata/ysh-read-1.sh:6: errexit PID 32799: command.Simple failed with status 141 write a b | while read --line --with-eol (&myline) { ^~~~ /home/uke/oil/spec/testdata/ysh-read-1.sh:9: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) |
osh_ALT | 14 read --line --with-eol [osh_ALT stdout] Expected 'reply=1\nreply=2\nreply=3\nmyline=a\nmyline=b\n' Got '' stdout: stderr: seq 3 | while read --line { ^~~~ /home/uke/oil/test/../spec/testdata/ysh-read-1.sh:6: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) seq 3 | while read --line { ^~~ /home/uke/oil/test/../spec/testdata/ysh-read-1.sh:6: errexit PID 32804: command.Simple failed with status 141 write a b | while read --line --with-eol (&myline) { ^~~~ /home/uke/oil/test/../spec/testdata/ysh-read-1.sh:9: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) |
osh | 15 read --line --j8 [osh stdout] Expected 'foo\n', got '\n' stdout: stderr: echo $'u\'foo\'' | read --line --j8 ^~~~ [ stdin ]:1: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) |
osh_ALT | 15 read --line --j8 [osh_ALT stdout] Expected 'foo\n', got '\n' stdout: stderr: echo $'u\'foo\'' | read --line --j8 ^~~~ [ stdin ]:1: 'read' no longer supports --line; please use read -r instead (unbuffered I/O) |
osh | 18 read --all-lines [osh stdout] Expected '1 2 3\n', got '@nums\n' stdout: @numsstderr: seq 3 | read --all-lines :nums ^~~~~~~~~~~ [ stdin ]:1: 'read' got invalid flag '--all-lines' |
osh_ALT | 18 read --all-lines [osh_ALT stdout] Expected '1 2 3\n', got '@nums\n' stdout: @numsstderr: seq 3 | read --all-lines :nums ^~~~~~~~~~~ [ stdin ]:1: 'read' got invalid flag '--all-lines' |
osh | 19 read --all-lines --with-eol [osh stdout] Expected '1\n2\n3\n', got '@nums\n' stdout: @numsstderr: seq 3 | read --all-lines --with-eol :nums ^~~~~~~~~~~ [ stdin ]:1: 'read' got invalid flag '--all-lines' |
osh_ALT | 19 read --all-lines --with-eol [osh_ALT stdout] Expected '1\n2\n3\n', got '@nums\n' stdout: @numsstderr: seq 3 | read --all-lines --with-eol :nums ^~~~~~~~~~~ [ stdin ]:1: 'read' got invalid flag '--all-lines' |