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 2 stdout: stderr: sh=$(which $SH)
^
[ stdin ]:9: Invalid word while parsing command list
|
| 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 2 stdout: stderr: home=$(echo $HOME)
^
[ stdin ]:3: Invalid word while parsing command list
|
| 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 2 stdout: stderr: sh_path=$(which $SH)
^
[ stdin ]:12: Invalid word while parsing command list
|
| 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 2 stdout: subshell OKstderr: )
^
[ stdin ]:16: Unexpected EOF while parsing command
|
| 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 2 stdout: subshell OKstderr: )
^
[ stdin ]:17: Unexpected EOF while parsing command
|
| 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 2 stdout: stderr: test "$HOSTNAME" = "$(hostname)"
^
[ stdin ]:1: Invalid word while parsing command list
|
| 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 2 stdout: stderr: x=$($SH -u -c 'echo prev=$_')
^
[ stdin ]:3: Invalid word while parsing command list
|