Results for builtins.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
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 pass pass pass pass $OLDPWD
5pass pass pass pass pass pass pwd
6pass pass pass pass pass pass pwd after cd ..
7pass pass pass pass pass pass pwd -P
8pass pass pass pass pass pass Test the current directory after 'cd ..' involving symlinks
9pass pass pass pass pass pass cd with no arguments
10ok pass ok pass pass pass cd to nonexistent dir
detailsdetails
11pass pass pass pass pass pass cd away from dir that was deleted
12pass pass pass pass pass pass cd permits double bare dash
13pass pass pass pass pass pass cd to symlink with -L and -P
14pass pass pass pass pass pass cd to relative path with -L and -P
15N-I pass N-I pass pass pass pushd/popd
detailsdetails
16pass pass pass pass pass pass Exit out of function
17ok ok pass pass pass pass Exit builtin with invalid arg
detailsdetails
18BUG BUG ok pass pass pass Exit builtin with too many args
detailsdetailsdetails
19BUG pass pass pass pass pass time block
details
20pass pass pass pass pass pass time pipeline
21pass pass pass pass pass pass shift
22ok pass pass pass pass pass Shifting too far
details
23ok pass BUG pass pass pass Invalid shift argument
detailsdetails
24pass pass pass pass pass pass get umask
25pass pass pass pass pass pass set umask in octal
26pass pass pass FAIL FAIL FAIL set umask symbolically
detailsdetailsdetails

146 passed, 7 ok, 2 known unimplemented, 4 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

dash10 cd to nonexistent dir

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

stdout:
status=2
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: cd: /nonexistent/dir: No such file or directory
dash15 pushd/popd

stdout:
stderr: 
_tmp/spec-bin/dash: 3: pushd: not found
mksh15 pushd/popd

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: pushd: not found
dash17 Exit builtin with invalid arg

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

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

stdout:
stderr: 
bash18 Exit builtin with too many args

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

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

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

stdout:
stderr: 
_tmp/spec-bin/dash: 1: shift: Illegal number: ZZZ
mksh23 Invalid shift argument

stdout:
stderr: 
osh26 set umask symbolically

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

stdout:
664
664
stderr:
osh warning: *** umask with symbolic input not implemented ***
osh_ALT26 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 not implemented ***\n'

stdout:
664
664
stderr:
osh warning: *** umask with symbolic input not implemented ***
osh-byterun26 set umask symbolically

[osh-byterun stdout] Expected '664\n644\n', got '664\n664\n'
[osh-byterun stderr] Expected u'', got 'osh warning: *** umask with symbolic input not implemented ***\n'

stdout:
664
664
stderr:
osh warning: *** umask with symbolic input not implemented ***