spec test index / oilshell.org
case | bash | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | FAIL | ${FUNCNAME[@]} array |
details | |||||
1 | pass | pass | pass | FAIL | FUNCNAME with source |
details | |||||
2 | pass | pass | pass | FAIL | ${BASH_SOURCE[@]} with source and function name |
details | |||||
3 | pass | pass | pass | FAIL | ${BASH_SOURCE[@]} with line numbers |
details | |||||
4 | pass | pass | pass | FAIL | ${BASH_LINENO[@]} is a stack of line numbers for function calls |
details | |||||
5 | pass | pass | pass | FAIL | $LINENO is the current line, not line of function call |
details |
18 passed, 0 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped
osh-byterun | 0 ${FUNCNAME[@]} array [osh-byterun stdout] Expected "['f']\n['g', 'f']\n['f']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 1 FUNCNAME with source [osh-byterun stdout] Expected "['source', 'f', 'g']\n['source']\n[]\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 2 ${BASH_SOURCE[@]} with source and function name [osh-byterun stdout] Expected "[]\n['spec/testdata/bash-source-simple.sh']\n['spec/testdata/bash-source-simple.sh']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 3 ${BASH_SOURCE[@]} with line numbers [osh-byterun stdout] Expected "['begin F funcs', 'f', 'main']\n['begin F files', 'spec/testdata/bash-source.sh', 'spec/testdata/bash-source.sh']\n['begin F lines', '21', '0']\n['G funcs', 'g', 'f', 'main']\n['G files', 'spec/testdata/bash-source-2.sh', 'spec/testdata/bash-source.sh', 'spec/testdata/bash-source.sh']\n['G lines', '15', '21', '0']\n['end F funcs', 'f', 'main']\n['end F', 'spec/testdata/bash-source.sh', 'spec/testdata/bash-source.sh']\n['end F lines', '21', '0']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 4 ${BASH_LINENO[@]} is a stack of line numbers for function calls [osh-byterun stdout] Expected "[]\n['begin F', '10']\n['G', '6', '10']\n['end F', '10']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 5 $LINENO is the current line, not line of function call [osh-byterun stdout] Expected "1\n['6']\n['3']\n['8']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |