spec test index / oilshell.org
111 passed, 0 OK, 0 not implemented, 0 BUG, 21 failed, 0 timeouts, 0 cases skipped
osh_.py | 24 -x [osh_.py stdout] Expected 'no\nyes\nbad\n', got 'no\nbad\n' stdout: no badstderr: echo 'echo hi' > $TMP/x ^ [ stdin ]:2: Can't open '/x': Permission denied chmod: cannot access '/x': No such file or directory |
osh_.cc | 24 -x [osh_.cc stdout] Expected 'no\nyes\nbad\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 25 -r [osh_.py stdout] Expected 'yes\nno\n', got 'no\n' stdout: nostderr: echo '1' > $TMP/testr_yes ^ [ stdin ]:1: Can't open '/testr_yes': Permission denied echo '2' > $TMP/testr_no ^ [ stdin ]:2: Can't open '/testr_no': Permission denied chmod: cannot access '/testr_no': No such file or directory |
osh_.cc | 25 -r [osh_.cc stdout] Expected 'yes\nno\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 26 -w [osh_.py stdout] Expected 'yes\nno\n', got 'no\n' stdout: nostderr: echo '1' > $TMP/testw_yes ^ [ stdin ]:2: Can't open '/testw_yes': Permission denied echo '2' > $TMP/testw_no ^ [ stdin ]:3: Can't open '/testw_no': Permission denied chmod: cannot access '/testw_no': No such file or directory |
osh_.cc | 26 -w [osh_.cc stdout] Expected 'yes\nno\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 28 -h and -L test for symlink [osh_.py stdout] Expected 'no\nno\nis-file\nsymlink\nsymlink\ndangling\ndangling\ndangling is not file\n', got 'no\nno\ndangling is not file\n' stdout: no no dangling is not filestderr: mkdir: cannot create directory '/builtin-test-1': Permission denied touch: cannot touch '/builtin-test-1/zz': No such file or directory ln: failed to create symbolic link '/builtin-test-1/symlink': No such file or directory ln: failed to create symbolic link '/builtin-test-1/dangling': No such file or directory |
osh_.cc | 28 -h and -L test for symlink [osh_.cc stdout] Expected 'no\nno\nis-file\nsymlink\nsymlink\ndangling\ndangling\ndangling is not file\n', got 'no\nno\ndangling is not file\n' stdout: no no dangling is not filestderr: mkdir: cannot create directory '/builtin-test-1': Permission denied touch: cannot touch '/builtin-test-1/zz': No such file or directory ln: failed to create symbolic link '/builtin-test-1/symlink': No such file or directory ln: failed to create symbolic link '/builtin-test-1/dangling': No such file or directory |
osh_.py | 31 -ot and -nt [osh_.py stdout] Expected 'older\nnot newer\nnot older than itself\nnot newer than itself\n', got 'not newer\nnot older than itself\nnot newer than itself\n' stdout: not newer not older than itself not newer than itselfstderr: touch: cannot touch '/x': Permission denied touch -d 2018/01/01 > $TMP/y ^ [ stdin ]:2: Can't open '/y': Permission denied |
osh_.cc | 31 -ot and -nt [osh_.cc stdout] Expected 'older\nnot newer\nnot older than itself\nnot newer than itself\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: touch: cannot touch '/x': Permission denied osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 33 test -s [osh_.py stdout] Expected 'status=1\nstatus=1\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n' stdout: status=1 status=1 status=1stderr: touch: cannot touch '/empty': Permission denied echo nonempty > $TMP/nonempty ^ [ stdin ]:6: Can't open '/nonempty': Permission denied |
osh_.cc | 33 test -s [osh_.cc stdout] Expected 'status=1\nstatus=1\nstatus=0\n', got 'status=1\nstatus=1\n' [osh_.cc status] Expected 0, got -6 stdout: status=1 status=1stderr: touch: cannot touch '/empty': Permission denied osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 35 test -p named pipe [osh_.py stdout] Expected 'status=0\nstatus=1\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: mkfifo $TMP/fifo ^~~~~~ [ stdin ]:1: 'mkfifo' not found |
osh_.cc | 35 test -p named pipe [osh_.cc stdout] Expected 'status=0\nstatus=1\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: mkfifo $TMP/fifo ^~~~~~ [ stdin ]:1: 'mkfifo' not found |
osh_.py | 36 -G and -O for effective user ID and group ID [osh_.py stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got 'status=1\nstatus=1\nstatus=1\nstatus=1\n' stdout: status=1 status=1 status=1 status=1stderr: |
osh_.cc | 36 -G and -O for effective user ID and group ID [osh_.cc stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/osh_bool_stat.h:37: bool bool_stat::DoUnaryOp(id_kind_asdl::Id_t, Str *): Assertion `0' failed. |
osh_.py | 37 -u for setuid, -g too [osh_.py stdout] Expected 'status=1\nstatus=0\nstatus=1\nstatus=1\n', got 'status=1\nstatus=0\nstatus=1\nstatus=0\n' stdout: status=1 status=0 status=1 status=0stderr: |
osh_.cc | 37 -u for setuid, -g too [osh_.cc stdout] Expected 'status=1\nstatus=0\nstatus=1\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/osh_bool_stat.h:37: bool bool_stat::DoUnaryOp(id_kind_asdl::Id_t, Str *): Assertion `0' failed. |
osh_.py | 41 -ef [osh_.py stdout] Expected 'same\nsame\ndifferent\ndifferent\n', got 'different\ndifferent\n' stdout: different differentstderr: touch: cannot touch '/left': Permission denied touch: cannot touch '/right': Permission denied ln: failed to access '/left': No such file or directory |
osh_.cc | 41 -ef [osh_.cc stdout] Expected 'same\nsame\ndifferent\ndifferent\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: touch: cannot touch '/left': Permission denied touch: cannot touch '/right': Permission denied ln: failed to access '/left': No such file or directory osh_eval.dbg: cpp/osh_bool_stat.h:63: bool bool_stat::DoBinaryOp(id_kind_asdl::Id_t, Str *, Str *): Assertion `0' failed. |
osh_.cc | 42 Overflow error [osh_.cc stdout] Expected 'status=2\n', got 'status=1\n' stdout: status=1stderr: |