Results for builtins.test.sh

statusdashbashmkshzshoshosh_ALT
pass 273127293333
ok 324000
BUG 413500
FAIL 000011
total343434343434
casedashbashmkshzshoshosh_ALTdescription
0pass pass pass pass pass pass exec builtin
1pass pass pass pass pass pass exec builtin with redirects
2pass pass pass pass pass pass exec builtin with here doc
3BUG pass pass pass pass pass exec builtin accepts --
details
4BUG pass BUG pass pass pass exec -- 2>&1
detailsdetails
5pass pass pass pass pass pass cd and $PWD
6pass pass BUG BUG pass pass $OLDPWD
detailsdetails
7pass pass pass pass pass pass pwd
8pass pass pass pass pass pass pwd after cd ..
9pass pass pass pass pass pass pwd with symlink and -P
10pass pass pass pass pass pass setting $PWD doesn't affect the value of 'pwd' builtin
11pass pass pass pass pass pass unset PWD; then pwd
12pass pass pass pass pass pass 'unset PWD; pwd' before any cd (tickles a rare corner case)
13pass pass pass pass pass pass lie about PWD; pwd before any cd
14pass pass ok pass pass pass remove pwd dir
details
15pass pass ok pass pass pass pwd in symlinked dir on shell initialization
details
16pass pass pass pass pass pass Test the current directory after 'cd ..' involving symlinks
17pass pass pass pass pass pass cd with no arguments
18ok pass ok pass pass pass cd to nonexistent dir
detailsdetails
19pass pass pass pass pass pass cd away from dir that was deleted
20pass pass pass pass pass pass cd permits double bare dash
21pass pass pass pass pass pass cd to symlink with -L and -P
22pass pass pass pass pass pass cd to relative path with -L and -P
23pass pass pass pass pass pass Exit out of function
24ok ok pass BUG pass pass Exit builtin with invalid arg
detailsdetailsdetails
25BUG BUG ok BUG pass pass Exit builtin with too many args
detailsdetailsdetailsdetails
26BUG pass pass BUG pass pass time block
detailsdetails
27pass pass pass pass pass pass time pipeline
28pass pass pass pass pass pass shift
29ok pass pass pass pass pass Shifting too far
details
30pass ok BUG BUG pass pass Invalid shift argument
detailsdetailsdetails
31pass pass pass pass pass pass get umask
32pass pass pass pass pass pass set umask in octal
33pass pass pass pass FAIL FAIL set umask symbolically
detailsdetails
180 passed, 9 OK, 0 not implemented, 13 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

dash3 exec builtin accepts --

stdout:
stderr: 
dash: 1: exec: --: not found
dash4 exec -- 2>&1

stdout:
stderr: 
dash: 1: exec: --: not found
mksh4 exec -- 2>&1

stdout:
stderr: 
mksh6 $OLDPWD

stdout:
old: /
/
stderr:
zsh6 $OLDPWD

stdout:
old: /
OLDPWD=/
stderr:
mksh14 remove pwd dir

stdout:
/tmp/oil-spec-test/pwd
status=0
status=1
stderr:
mksh: <stdin>[7]: pwd: can't determine current directory: No such file or directory
mksh15 pwd in symlinked dir on shell initialization

stdout:
target
target
stderr:
dash18 cd to nonexistent dir

stdout:
status=2
stderr:
dash: 1: cd: can't cd to /nonexistent/dir
mksh18 cd to nonexistent dir

stdout:
status=2
stderr:
mksh: <stdin>[1]: cd: /nonexistent/dir: No such file or directory
dash24 Exit builtin with invalid arg

stdout:
stderr: 
dash: 1: exit: Illegal number: invalid
bash24 Exit builtin with invalid arg

stdout:
stderr: 
bash: line 1: exit: invalid: numeric argument required
zsh24 Exit builtin with invalid arg

stdout:
stderr: 
dash25 Exit builtin with too many args

stdout:
stderr: 
bash25 Exit builtin with too many args

stdout:
status=1
stderr:
bash: line 1: exit: too many arguments
mksh25 Exit builtin with too many args

stdout:
stderr: 
mksh: <stdin>[1]: exit: too many arguments
zsh25 Exit builtin with too many args

stdout:
status=1
stderr:
exit: too many arguments
dash26 time block

stdout:
stderr: 
time: cannot run {: No such file or directory
Command exited with non-zero status 127
0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 1180maxresident)k
0inputs+0outputs (0major+28minor)pagefaults 0swaps
dash: 7: Syntax error: "}" unexpected
zsh26 time block

stdout:
stderr: 
dash29 Shifting too far

stdout:
stderr: 
dash: 2: shift: can't shift that many
bash30 Invalid shift argument

stdout:
stderr: 
bash: line 1: shift: ZZZ: numeric argument required
mksh30 Invalid shift argument

stdout:
stderr: 
zsh30 Invalid shift argument

stdout:
stderr: 
osh33 set umask symbolically

[osh stdout] Expected '664\n644\n', got '664\n664\n'
[osh stderr] Expected u'', got "osh warning: umask with symbolic input isn't implemented\n"

stdout:
664
664
stderr:
osh warning: umask with symbolic input isn't implemented
osh_ALT33 set umask symbolically

[osh_ALT stdout] Expected '664\n644\n', got '664\n664\n'
[osh_ALT stderr] Expected u'', got "osh warning: umask with symbolic input isn't implemented\n"

stdout:
664
664
stderr:
osh warning: umask with symbolic input isn't implemented