69 passed, 2 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh-cpp | 2 $PATH is set if unset at startup [osh-cpp stdout] Expected 'yes\nyes\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 3 $HOME is NOT set [osh-cpp stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 5 Some vars are set, even without startup file, or env: PATH, PWD [osh-cpp stdout] Expected 'path pwd ps4 0\nshellopts 0\nhome ps1 1\nifs 0\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
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-cpp | 12 $$ doesn't change with subshell or command sub [osh-cpp stdout] Expected 'subshell OK\ncommand sub OK\n', got 'subshell OK\n' [osh-cpp status] Expected 3, got -6 stdout: subshell OKstderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 13 $BASHPID DOES change with subshell and command sub [osh-cpp stdout] Expected 'subshell OK\ncommand sub OK\n', got 'subshell OK\n' [osh-cpp status] Expected 3, got -6 stdout: subshell OKstderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
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-cpp | 20 $HOSTNAME [osh-cpp stdout] Expected 'status=0\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
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 | 39 $_ is not undefined on first use [osh-cpp stdout] Expected 'status=0\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |