Results for builtins.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass exec builtin
1pass pass pass pass pass exec builtin with redirects
2pass pass pass pass pass exec builtin with here doc
3pass pass pass pass pass cd and $PWD
4pass pass BUG pass pass $OLDPWD
details
5pass pass pass pass pass pwd
6pass pass pass pass pass pwd after cd ..
7pass pass pass pass pass pwd -P
8pass pass pass pass pass set PWD to something different, invoke pwd
9pass pass pass pass pass unset PWD; then pwd
10pass pass ok ok ok remove pwd dir
detailsdetailsdetails
11pass pass pass pass pass Test the current directory after 'cd ..' involving symlinks
12pass pass pass pass pass cd with no arguments
13ok pass ok pass pass cd to nonexistent dir
detailsdetails
14pass pass pass pass pass cd away from dir that was deleted
15pass pass pass pass pass cd permits double bare dash
16pass pass pass pass pass cd to symlink with -L and -P
17pass pass pass pass pass cd to relative path with -L and -P
18pass pass pass pass pass Exit out of function
19ok ok pass pass pass Exit builtin with invalid arg
detailsdetails
20BUG BUG ok pass pass Exit builtin with too many args
detailsdetailsdetails
21BUG pass pass pass pass time block
details
22pass pass pass pass pass time pipeline
23pass pass pass pass pass shift
24ok pass pass pass pass Shifting too far
details
25pass ok BUG pass pass Invalid shift argument
detailsdetails
26pass pass pass pass pass get umask
27pass pass pass pass pass set umask in octal
28pass pass pass FAIL FAIL set umask symbolically
detailsdetails

128 passed, 10 ok, 0 known unimplemented, 5 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

mksh4 $OLDPWD

stdout:
old: /
/
stderr:
mksh10 remove pwd dir

stdout:
/tmp/oil-spec-test/pwd
status=0
status=1
stderr:
_tmp/spec-bin/mksh: <stdin>[7]: pwd: can't determine current directory: No such file or directory
osh10 remove pwd dir

stdout:
/tmp/oil-spec-test/pwd
status=0
status=1
stderr:
  pwd
  ^~~
[ stdin ]:7: Can't determine working directory: No such file or directory
osh_ALT10 remove pwd dir

stdout:
/tmp/oil-spec-test/pwd
status=0
status=1
stderr:
  pwd
  ^~~
[ stdin ]:7: Can't determine working directory: No such file or directory
dash13 cd to nonexistent dir

stdout:
status=2
stderr:
_tmp/spec-bin/dash: 1: cd: can't cd to /nonexistent/dir
mksh13 cd to nonexistent dir

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

stdout:
stderr: 
_tmp/spec-bin/dash: 1: exit: Illegal number: invalid
bash19 Exit builtin with invalid arg

stdout:
stderr: 
_tmp/spec-bin/bash: line 1: exit: invalid: numeric argument required
dash20 Exit builtin with too many args

stdout:
stderr: 
bash20 Exit builtin with too many args

stdout:
status=1
stderr:
_tmp/spec-bin/bash: line 1: exit: too many arguments
mksh20 Exit builtin with too many args

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: exit: too many arguments
dash21 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 1244maxresident)k
0inputs+0outputs (0major+28minor)pagefaults 0swaps
_tmp/spec-bin/dash: 7: Syntax error: "}" unexpected
dash24 Shifting too far

stdout:
stderr: 
_tmp/spec-bin/dash: 2: shift: can't shift that many
bash25 Invalid shift argument

stdout:
stderr: 
_tmp/spec-bin/bash: line 1: shift: ZZZ: numeric argument required
mksh25 Invalid shift argument

stdout:
stderr: 
osh28 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_ALT28 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