spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | FAIL | $PWD is set |
details | |||||||
1 | pass | pass | BUG | pass | pass | FAIL | $PWD is not only set, but exported |
details | details | ||||||
2 | pass | pass | pass | pass | pass | FAIL | $HOME is NOT set |
details | |||||||
3 | pass | pass | pass | pass | pass | FAIL | $1 .. $9 are scoped, while $0 is not |
details | |||||||
4 | pass | pass | pass | pass | pass | FAIL | $? |
details | |||||||
5 | pass | pass | pass | pass | pass | FAIL | $# |
details | |||||||
6 | N-I | pass | N-I | FAIL | FAIL | FAIL | $_ |
details | details | details | details | details | |||
7 | pass | pass | pass | pass | pass | FAIL | $$ looks like a PID |
details | |||||||
8 | pass | pass | pass | pass | pass | FAIL | $$ doesn't change with subshell or command sub |
details | |||||||
9 | N-I | pass | pass | FAIL | FAIL | FAIL | $BASHPID DOES change with subshell and command sub |
details | details | details | details | ||||
10 | pass | pass | pass | pass | pass | FAIL | Background PID $! looks like a PID |
details | |||||||
11 | pass | pass | pass | FAIL | FAIL | FAIL | $PPID |
details | details | details | |||||
12 | N-I | pass | pass | pass | pass | FAIL | $PIPESTATUS |
details | details | ||||||
13 | N-I | pass | pass | FAIL | FAIL | FAIL | $RANDOM |
details | details | details | details | ||||
14 | N-I | pass | N-I | pass | pass | FAIL | $UID and $EUID |
details | details | details | |||||
15 | N-I | pass | N-I | pass | pass | FAIL | $OSTYPE is non-empty |
details | details | details | |||||
16 | N-I | pass | N-I | pass | pass | FAIL | $HOSTNAME |
details | details | details |
65 passed, 0 ok, 11 known unimplemented, 1 known bugs, 4 failed, 0 skipped
osh-byterun | 0 $PWD is set [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 |
mksh | 1 $PWD is not only set, but exported stdout: stderr: |
osh-byterun | 1 $PWD is not only set, but exported [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 $HOME is NOT set [osh-byterun stdout] Expected 'status=0\nstatus=1\nstatus=1\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 $1 .. $9 are scoped, while $0 is not [osh-byterun stdout] Expected 'sh a b\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 $? [osh-byterun stdout] Expected u'0\n33\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 $# [osh-byterun stdout] Expected '4\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 |
dash | 6 $_ stdout: histderr: |
mksh | 6 $_ stdout: histderr: |
osh | 6 $_ [osh stdout] Expected u'hi\nhi\n', got 'hi\n\n' stdout: histderr: |
osh_ALT | 6 $_ [osh_ALT stdout] Expected u'hi\nhi\n', got 'hi\n\n' stdout: histderr: |
osh-byterun | 6 $_ [osh-byterun stdout] Expected u'hi\nhi\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 | 7 $$ looks like a PID [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 | 8 $$ doesn't change with subshell or command sub [osh-byterun stdout] Expected 'subshell OK\ncommand sub OK\n', got '' [osh-byterun status] Expected 3, 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 |
dash | 9 $BASHPID DOES change with subshell and command sub stdout: stderr: empty BASHPID in parent |
osh | 9 $BASHPID DOES change with subshell and command sub [osh stdout] Expected 'subshell OK\ncommand sub OK\n', got '' [osh status] Expected 3, got 1 stdout: stderr: empty BASHPID in parent |
osh_ALT | 9 $BASHPID DOES change with subshell and command sub [osh_ALT stdout] Expected 'subshell OK\ncommand sub OK\n', got '' [osh_ALT status] Expected 3, got 1 stdout: stderr: empty BASHPID in parent |
osh-byterun | 9 $BASHPID DOES change with subshell and command sub [osh-byterun stdout] Expected 'subshell OK\ncommand sub OK\n', got '' [osh-byterun status] Expected 3, 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 | 10 Background PID $! looks like a PID [osh-byterun stdout] Expected 'status=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 | 11 $PPID [osh status] Expected 0, got 1 stdout: stderr: |
osh_ALT | 11 $PPID [osh_ALT status] Expected 0, got 1 stdout: stderr: |
osh-byterun | 11 $PPID [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 |
dash | 12 $PIPESTATUS stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
osh-byterun | 12 $PIPESTATUS [osh-byterun stdout] Expected "['0', '33', '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 |
dash | 13 $RANDOM stdout: 0stderr: |
osh | 13 $RANDOM [osh status] Expected 0, got 1 stdout: 0stderr: |
osh_ALT | 13 $RANDOM [osh_ALT status] Expected 0, got 99 stdout: 40stderr: |
osh-byterun | 13 $RANDOM [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 |
dash | 14 $UID and $EUID stdout: stderr: |
mksh | 14 $UID and $EUID stdout: stderr: |
osh-byterun | 14 $UID and $EUID [osh-byterun stdout] Expected 'status=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 |
dash | 15 $OSTYPE is non-empty stdout: status=1stderr: |
mksh | 15 $OSTYPE is non-empty stdout: status=1stderr: |
osh-byterun | 15 $OSTYPE is non-empty [osh-byterun stdout] Expected 'status=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 |
dash | 16 $HOSTNAME stdout: status=1stderr: |
mksh | 16 $HOSTNAME stdout: status=1stderr: |
osh-byterun | 16 $HOSTNAME [osh-byterun stdout] Expected 'status=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 |