spec test index / oilshell.org
148 passed, 7 OK, 41 not implemented, 11 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
mksh | 1 $PWD is not only set, but exported stdout: stderr: |
zsh | 3 $HOME is NOT set stdout: zsh sets HOMEstderr: |
dash | 4 Vars set interactively only: $HISTFILE stdout: stderr: |
mksh | 4 Vars set interactively only: $HISTFILE stdout: stderr: |
zsh | 4 Vars set interactively only: $HISTFILE stdout: stderr: |
dash | 5 Some vars are set, even without startup file, or env: PATH, PWD stdout: stderr: |
mksh | 5 Some vars are set, even without startup file, or env: PATH, PWD stdout: path pwd ps4 0 shellopts 0 home ps1 0 ifs 0stderr: typeset -x PATH=/usr/bin:/bin typeset PWD=/home/uke/oil/_tmp/spec-tmp/vars-special.test.sh.33224/05-mksh typeset PS4='+ ' typeset -x HOME= typeset PS1='$ ' typeset IFS=$' \t\n' |
zsh | 5 Some vars are set, even without startup file, or env: PATH, PWD stdout: path pwd ps4 0 shellopts 1 home ps1 0 ifs 0stderr: typeset PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin typeset PWD=/home/uke/oil/_tmp/spec-tmp/vars-special.test.sh.33224/05-zsh typeset PS4='+%N:%i> ' zsh:typeset:1: no such variable: SHELLOPTS typeset HOME=/home/uke typeset PS1='' typeset IFS=' ' |
dash | 6 UID EUID PPID can't be changed stdout: uid=xx euid=xx status=0stderr: |
mksh | 6 UID EUID PPID can't be changed stdout: uid=xx euid=xx status=0stderr: |
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: |
zsh | 7 HOSTNAME OSTYPE can be changed stdout: stderr: |
zsh | 8 $1 .. $9 are scoped, while $0 is not stdout: a bstderr: |
dash | 13 $BASHPID DOES change with subshell and command sub stdout: stderr: empty BASHPID in parent |
zsh | 13 $BASHPID DOES change with subshell and command sub stdout: stderr: empty BASHPID in parent |
dash | 16 $PIPESTATUS stdout: stderr: dash: 2: Bad substitution |
zsh | 16 $PIPESTATUS stdout: ['']stderr: |
dash | 17 $RANDOM stdout: 0stderr: |
osh | 17 $RANDOM [osh status] Expected 0, got 1 stdout: 0stderr: |
dash | 18 $UID and $EUID stdout: stderr: |
mksh | 18 $UID and $EUID stdout: stderr: |
dash | 19 $OSTYPE is non-empty stdout: status=1stderr: |
mksh | 19 $OSTYPE is non-empty stdout: status=1stderr: |
dash | 20 $HOSTNAME stdout: status=1stderr: |
mksh | 20 $HOSTNAME stdout: status=1stderr: |
zsh | 20 $HOSTNAME stdout: status=1stderr: |
dash | 21 $LINENO is the current line, not line of function call stdout: 1 ['2'] ['2'] ['4']stderr: |
zsh | 21 $LINENO is the current line, not line of function call stdout: 1 ['1'] ['1'] ['3']stderr: |
zsh | 22 $LINENO in "bare" redirect arg (bug regression) stdout: stderr: |
dash | 24 $LINENO in [[ stdout: onestderr: dash: 2: [[: not found |
mksh | 24 $LINENO in [[ stdout: onestderr: |
dash | 25 $LINENO in (( stdout: onestderr: dash: 2: x: not found |
mksh | 26 $LINENO in for loop stdout: one 1 zzzstderr: |
dash | 28 $LINENO in for (( loop stdout: onestderr: dash: 2: Syntax error: Bad for loop variable |
mksh | 28 $LINENO in for (( loop stdout: onestderr: mksh: <stdin>[2]: syntax error: '((' unexpected |
osh | 28 $LINENO in for (( loop [osh stdout] Expected 'one\n0\n1\n', got 'one\n0\n1\n2\n' stdout: one 0 1 2stderr: |
mksh | 30 $LINENO in case stdout: line=3stderr: |
dash | 31 $_ with simple command and evaluation stdout: hi worldstderr: |
mksh | 31 $_ with simple command and evaluation stdout: hi worldstderr: |
dash | 32 $_ and ${_} stdout: stderr: |
mksh | 32 $_ and ${_} stdout: stderr: |
dash | 33 $_ with word splitting stdout: stderr: |
mksh | 33 $_ with word splitting stdout: stderr: |
dash | 34 $_ with pipeline and subshell stdout: stderr: |
mksh | 34 $_ with pipeline and subshell stdout: stderr: |
zsh | 34 $_ with pipeline and subshell stdout: last=3 pipeline=last=3 subshell= done=stderr: zsh: command not found: shopt seq: write error: Broken pipe |
dash | 35 $_ with && and || stdout: stderr: |
mksh | 35 $_ with && and || stdout: stderr: |
dash | 36 $_ is not reset with (( and [[ stdout: stderr: |
mksh | 36 $_ is not reset with (( and [[ stdout: stderr: |
dash | 37 $_ with assignments, arrays, etc. stdout: stderr: |
mksh | 37 $_ with assignments, arrays, etc. stdout: stderr: |
zsh | 37 $_ with assignments, arrays, etc. stdout: colon [foo] bare assign [] declare [declare] array [declare [declare]] declare array [declare] declare flag [-g]stderr: |
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: |
dash | 38 $_ with loop stdout: stderr: |
mksh | 38 $_ with loop stdout: stderr: |
zsh | 38 $_ with loop stdout: init begin=init prev= prev=prev= prev=prev=prev=stderr: |
dash | 39 $_ is not undefined on first use stdout: stderr: dash: 1: _: parameter not set |
dash | 40 BASH_VERSION / OILS_VERSION stdout: no versionstderr: |
mksh | 40 BASH_VERSION / OILS_VERSION stdout: no versionstderr: |
zsh | 40 BASH_VERSION / OILS_VERSION stdout: no versionstderr: |
dash | 41 $SECONDS stdout: seconds=stderr: |