| status | bash | mksh | ksh | toysh | sush | brush | osh | |
| pass | 5 | 3 | 3 | 1 | 3 | 3 | 3 | |
| ok | 0 | 2 | 0 | 0 | 0 | 0 | 2 | |
| FAIL | 0 | 0 | 2 | 4 | 2 | 2 | 0 | |
| total | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| case | bash | mksh | ksh | toysh | sush | brush | osh | description |
| 0 | pass | pass | pass | FAIL | pass | pass | pass | Parsing shell words \r \v |
| details | ||||||||
| 1 | pass | ok | FAIL | FAIL | FAIL | FAIL | ok | \r in arith expression is allowed by some shells, but not most! |
| details | details | details | details | details | details | |||
| 2 | pass | ok | FAIL | FAIL | pass | FAIL | ok | whitespace in string to integer conversion |
| details | details | details | details | details | ||||
| 3 | pass | pass | pass | FAIL | FAIL | pass | pass | \r at end of line is not special |
| details | details | |||||||
| 4 | pass | pass | pass | pass | pass | pass | pass | Default IFS does not include \r \v \f |
21 passed, 4 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped
| toysh | 0 Parsing shell words \r \v [toysh stdout] Expected "['-', '-']\n['-\\r-']\n['-\\x0b-']\n['-\\x0c-']\n" Got "['-', '-']\n['-', '-']\n['-', '-']\n['-', '-']\n" stdout: ['-', '-'] ['-', '-'] ['-', '-'] ['-', '-']stderr: |
| mksh | 1 \r in arith expression is allowed by some shells, but not most! stdout: ['3'] ['3']stderr: |
| ksh | 1 \r in arith expression is allowed by some shells, but not most! [ksh stdout] Expected "['3']\nfailed\n", got "['3']\n['3']\n" stdout: ['3'] ['3']stderr: |
| toysh | 1 \r in arith expression is allowed by some shells, but not most! [toysh stdout] Expected "['3']\nfailed\n", got "['3']\n['3']\n" stdout: ['3'] ['3']stderr: |
| sush | 1 \r in arith expression is allowed by some shells, but not most! [sush stdout] Expected "['3']\nfailed\n", got "['3']\n['3']\n" stdout: ['3'] ['3']stderr: |
| brush | 1 \r in arith expression is allowed by some shells, but not most! [brush stdout] Expected "['3']\nfailed\n", got "['3']\n['3']\n" stdout: ['3'] ['3']stderr: |
| osh | 1 \r in arith expression is allowed by some shells, but not most! stdout: ['3'] ['3']stderr: |
| mksh | 2 whitespace in string to integer conversion stdout: 43 43stderr: |
| ksh | 2 whitespace in string to integer conversion [ksh stdout] Expected '43\nfailed\n', got '43\n43\n' stdout: 43 43stderr: |
| toysh | 2 whitespace in string to integer conversion [toysh stdout] Expected '43\nfailed\n', got '43\n43\n' stdout: 43 43stderr: |
| brush | 2 whitespace in string to integer conversion [brush stdout] Expected '43\nfailed\n', got '43\n43\n' stdout: 43 43stderr: |
| osh | 2 whitespace in string to integer conversion stdout: 43 43stderr: |
| toysh | 3 \r at end of line is not special [toysh stdout] Expected "['-\\r']\n", got "['-']\n" stdout: ['-']stderr: |
| sush | 3 \r at end of line is not special [sush stdout] Expected "['-\\r']\n", got "['-']\n" stdout: ['-']stderr: |