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

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

Details on runs that didn't PASS

osh6 pwd after cd ..

[osh stdout] Expected 'dir-two\ndir-one\n', got 'dir-two\n..\n'

stdout:
dir-two
..
stderr:
osh_ALT6 pwd after cd ..

[osh_ALT stdout] Expected 'dir-two\ndir-one\n', got 'dir-two\n..\n'

stdout:
dir-two
..
stderr:
osh-byterun6 pwd after cd ..

[osh-byterun stdout] Expected 'dir-two\ndir-one\n', got 'dir-two\n..\n'

stdout:
dir-two
..
stderr:
dash9 cd to nonexistent dir

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

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

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

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

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

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

stdout:
stderr: 
bash19 Exit builtin with too many args

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

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

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

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

stdout:
stderr: 
osh27 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_ALT27 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-byterun27 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 ***