Results for builtins.test.sh

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

Details on runs that didn't PASS

mksh4 $OLDPWD

stdout:
old: /
/
stderr:
zsh4 $OLDPWD

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

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

stdout:
target
target
stderr:
dash16 cd to nonexistent dir

stdout:
status=2
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: cd: can't cd to /nonexistent/dir
mksh16 cd to nonexistent dir

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: exit: Illegal number: invalid
bash22 Exit builtin with invalid arg

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: exit: invalid: numeric argument required
zsh22 Exit builtin with invalid arg

stdout:
stderr: 
dash23 Exit builtin with too many args

stdout:
stderr: 
bash23 Exit builtin with too many args

stdout:
status=1
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: exit: too many arguments
mksh23 Exit builtin with too many args

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

stdout:
status=1
stderr:
exit: too many arguments
dash24 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 1156maxresident)k
0inputs+0outputs (0major+26minor)pagefaults 0swaps
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 7: Syntax error: "}" unexpected
zsh24 time block

stdout:
stderr: 
dash27 Shifting too far

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shift: can't shift that many
bash28 Invalid shift argument

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shift: ZZZ: numeric argument required
mksh28 Invalid shift argument

stdout:
stderr: 
zsh28 Invalid shift argument

stdout:
stderr: 
osh31 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_ALT31 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