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 pass pass pass $OLDPWD
5pass pass pass pass pass cd with no arguments
6ok pass ok pass pass cd to nonexistent dir
detailsdetails
7pass pass pass pass pass cd away from dir that was deleted
8N-I pass N-I pass pass pushd/popd
detailsdetails
9pass pass pass pass pass Eval
10pass pass pass pass pass Source
11ok pass pass pass pass Source nonexistent
details
12ok ok pass pass pass Source with no arguments
detailsdetails
13pass pass pass pass pass Exit builtin
14ok ok pass pass pass Exit builtin with invalid arg
detailsdetails
15BUG BUG ok pass pass Exit builtin with too many args
detailsdetailsdetails
16BUG pass pass pass pass time block
details
17pass pass pass pass pass time pipeline
18pass pass pass pass pass shift
19ok pass pass pass pass Shifting too far
details
20ok pass BUG pass pass Invalid shift argument
detailsdetails
21pass pass pass pass pass get umask
22pass pass pass pass pass set umask in octal
23pass pass pass FAIL FAIL set umask symbolically
detailsdetails

102 passed, 10 ok, 2 known unimplemented, 4 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

dash6 cd to nonexistent dir

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

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

stdout:
stderr: 
/bin/dash: 3: pushd: not found
mksh8 pushd/popd

stdout:
stderr: 
/bin/mksh: <stdin>[3]: pushd: not found
dash11 Source nonexistent

stdout:
status=127
stderr:
/bin/dash: 1: source: not found
dash12 Source with no arguments

stdout:
status=127
stderr:
/bin/dash: 1: source: not found
bash12 Source with no arguments

stdout:
status=2
stderr:
/bin/bash: line 1: source: filename argument required
source: usage: source filename [arguments]
dash14 Exit builtin with invalid arg

stdout:
stderr: 
/bin/dash: 1: exit: Illegal number: invalid
bash14 Exit builtin with invalid arg

stdout:
stderr: 
/bin/bash: line 1: exit: invalid: numeric argument required
dash15 Exit builtin with too many args

stdout:
stderr: 
bash15 Exit builtin with too many args

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

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

stdout:
stderr: 
/bin/dash: 2: shift: can't shift that many
dash20 Invalid shift argument

stdout:
stderr: 
/bin/dash: 1: shift: Illegal number: ZZZ
mksh20 Invalid shift argument

stdout:
stderr: 
osh23 set umask symbolically

[osh stdout] Expected u'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_ALT23 set umask symbolically

[osh_ALT stdout] Expected u'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 ***