spec test index / oilshell.org
98 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 49 [[ -v array[i] ]] [osh stdout] Expected 'zero=0\none=0\ntwo=1\n', got 'zero=1\none=1\ntwo=1\n' stdout: zero=1 one=1 two=1stderr: |
osh-cpp | 49 [[ -v array[i] ]] [osh-cpp stdout] Expected 'zero=0\none=0\ntwo=1\n', got 'zero=1\none=1\ntwo=1\n' stdout: zero=1 one=1 two=1stderr: |
osh | 50 [[ -v array[expr]] ]] does arith expression evaluation [osh stdout] Expected 'zero=0\none=0\ntwo=1\n---\nzero=0\none=0\ntwo=1\n---\nzero=0\none=0\ntwo=1\n' Got 'zero=1\none=1\ntwo=1\n---\nzero=1\none=1\ntwo=1\n---\nzero=1\none=1\ntwo=1\n' stdout: zero=1 one=1 two=1 --- zero=1 one=1 two=1 --- zero=1 one=1 two=1stderr: |
osh-cpp | 50 [[ -v array[expr]] ]] does arith expression evaluation [osh-cpp stdout] Expected 'zero=0\none=0\ntwo=1\n---\nzero=0\none=0\ntwo=1\n---\nzero=0\none=0\ntwo=1\n' Got 'zero=1\none=1\ntwo=1\n---\nzero=1\none=1\ntwo=1\n---\nzero=1\none=1\ntwo=1\n' stdout: zero=1 one=1 two=1 --- zero=1 one=1 two=1 --- zero=1 one=1 two=1stderr: |
osh | 51 [[ -v assoc[key] ]] [osh stdout] Expected 'empty=0\nk=0\nnonexistent=1\n---\nempty=0\nk=0\nnonexistent=1\n---\nempty=0\nk=0\nnonexistent=1\n' Got 'empty=1\nk=1\nnonexistent=1\n---\nempty=1\nk=1\nnonexistent=1\n---\nempty=1\nk=1\nnonexistent=1\n' stdout: empty=1 k=1 nonexistent=1 --- empty=1 k=1 nonexistent=1 --- empty=1 k=1 nonexistent=1stderr: |
osh-cpp | 51 [[ -v assoc[key] ]] [osh-cpp stdout] Expected 'empty=0\nk=0\nnonexistent=1\n---\nempty=0\nk=0\nnonexistent=1\n---\nempty=0\nk=0\nnonexistent=1\n' Got 'empty=1\nk=1\nnonexistent=1\n---\nempty=1\nk=1\nnonexistent=1\n---\nempty=1\nk=1\nnonexistent=1\n' stdout: empty=1 k=1 nonexistent=1 --- empty=1 k=1 nonexistent=1 --- empty=1 k=1 nonexistent=1stderr: |