spec test index / oilshell.org
70 passed, 0 OK, 0 not implemented, 0 BUG, 14 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh_.py | 0 BASH_REMATCH [osh_.py stdout] Expected "['foo123', 'foo', '123']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "${BASH_REMATCH[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 0 BASH_REMATCH [osh_.cc stdout] Expected "['foo123', 'foo', '123']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "${BASH_REMATCH[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 12 Malformed regex [osh_.cc status] Expected 2, got 1 stdout: stderr: [[ 'a b' =~ ^)a\ b($ ]] && echo true ^~ [ stdin ]:1: fatal: Invalid regex '^)a b($': Invalid regex syntax (regex_match) |
osh | 13 Regex with char class containing space [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.py | 13 Regex with char class containing space [osh_.py stdout] Expected 'true\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.cc | 13 Regex with char class containing space [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh | 14 Operators and space lose meaning inside () [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.py | 14 Operators and space lose meaning inside () [osh_.py stdout] Expected 'true\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.cc | 14 Operators and space lose meaning inside () [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.cc | 18 Unquoted { is a regex parse error [osh_.cc status] Expected 2, got 1 stdout: stderr: [[ { =~ { ]] && echo true ^~ [ stdin ]:1: fatal: Invalid regex '{': Invalid regex syntax (regex_match) |
osh_.py | 21 Escaped { [osh_.py stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: [[ '$PA' =~ ^(\$\{?)([A-Za-z0-9_]*)$ ]] && argv.py "${BASH_REMATCH[@]}" ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 21 Escaped { [osh_.cc stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: [[ '$PA' =~ ^(\$\{?)([A-Za-z0-9_]*)$ ]] && argv.py "${BASH_REMATCH[@]}" ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 22 Escaped { stored in variable first [osh_.py stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: [[ '$PA' =~ $pat ]] && argv.py "${BASH_REMATCH[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 22 Escaped { stored in variable first [osh_.cc stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: [[ '$PA' =~ $pat ]] && argv.py "${BASH_REMATCH[@]}" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |