spec test index / oilshell.org
75 passed, 2 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 6 UID EUID PPID can't be changed [osh stdout] Expected 'status=1\n', got 'uid=xx\neuid=xx\nstatus=0\n' stdout: uid=xx euid=xx status=0stderr: |
osh-cpp | 6 UID EUID PPID can't be changed [osh-cpp stdout] Expected 'status=1\n', got 'uid=xx\neuid=xx\nppid=xx\nstatus=0\n' stdout: uid=xx euid=xx ppid=xx status=0stderr: |
osh | 17 $RANDOM [osh status] Expected 0, got 1 stdout: 0stderr: |
osh-cpp | 17 $RANDOM [osh-cpp status] Expected 0, got 99 stdout: 31stderr: |
osh | 28 $LINENO in for (( loop [osh stdout] Expected 'one\n0\n1\n', got 'one\n0\n1\n2\n' stdout: one 0 1 2stderr: |
osh-cpp | 28 $LINENO in for (( loop [osh-cpp stdout] Expected 'one\n0\n1\n', got 'one\n0\n1\n2\n' stdout: one 0 1 2stderr: |
osh | 37 $_ with assignments, arrays, etc. stdout: colon [foo] bare assign [colon [foo]] declare [bare assign [colon [foo]]] array [declare [bare assign [colon [foo]]]] declare array [array [declare [bare assign [colon [foo]]]]] declare flag [declare array [array [declare [bare assign [colon [foo]]]]]]stderr: |
osh-cpp | 37 $_ with assignments, arrays, etc. stdout: colon [foo] bare assign [colon [foo]] declare [bare assign [colon [foo]]] array [declare [bare assign [colon [foo]]]] declare array [array [declare [bare assign [colon [foo]]]]] declare flag [declare array [array [declare [bare assign [colon [foo]]]]]]stderr: |
osh-cpp | 41 $SECONDS [osh-cpp stdout] Expected 'seconds=0\n', got 'seconds=1\n' stdout: seconds=1stderr: |