| status | osh | osh-cpp | |
| pass | 3 | 0 | |
| ok | 2 | 0 | |
| FAIL | 0 | 5 | |
| total | 5 | 5 | |
| case | osh | osh-cpp | description |
| 0 | pass | FAIL | Parsing shell words \r \v |
| details | |||
| 1 | ok | FAIL | \r in arith expression is allowed by some shells, but not most! |
| details | details | ||
| 2 | ok | FAIL | whitespace in string to integer conversion |
| details | details | ||
| 3 | pass | FAIL | \r at end of line is not special |
| details | |||
| 4 | pass | FAIL | Default IFS does not include \r \v \f |
| details |
3 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 0 Parsing shell words \r \v [osh-cpp stdout] Expected "['-', '-']\n['-\\r-']\n['-\\x0b-']\n['-\\x0c-']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: tab=$(python2 -c 'print "argv.py -\t-"')
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh | 1 \r in arith expression is allowed by some shells, but not most! stdout: ['3'] ['3']stderr: |
| osh-cpp | 1 \r in arith expression is allowed by some shells, but not most! [osh-cpp stdout] Expected "['3']\n['3']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: arith=$(python2 -c 'print "argv.py $(( 1 +\n2))"')
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh | 2 whitespace in string to integer conversion stdout: 43 43stderr: |
| osh-cpp | 2 whitespace in string to integer conversion [osh-cpp stdout] Expected '43\n43\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: tab=$(python2 -c 'print "\t42\t"')
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 3 \r at end of line is not special [osh-cpp stdout] Expected "['-\\r']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: cr=$(python2 -c 'print "argv.py -\r"')
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 4 Default IFS does not include \r \v \f [osh-cpp stdout] Expected "['-', '-']\n['-\\r-']\n['-\\x0b-']\n['-\\x0c-']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: tab=$(python2 -c 'print "-\t-"')
^
[ stdin ]:1: Invalid word while parsing command list
|