Results for builtins.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass echo dashes
1N-I pass pass FAIL FAIL echo -en
detailsdetailsdetails
2BUG pass BUG pass pass echo -ez (invalid flag)
detailsdetails
3pass pass pass pass pass exec builtin
4pass pass pass pass pass exec builtin with redirects
5pass pass pass pass pass exec builtin with here doc
6pass pass pass pass pass cd and $PWD
7pass pass pass pass pass $OLDPWD
8N-I pass N-I pass pass pushd/popd
detailsdetails
9pass pass pass pass pass Source
10pass pass pass pass pass Exit builtin
11ok ok pass pass pass Exit builtin with invalid arg
detailsdetails
12BUG pass ok pass pass Exit builtin with too many args
detailsdetails
13BUG pass pass pass pass time block
details
14pass pass pass pass pass time pipeline
15pass pass pass pass pass shift
16ok pass pass pass pass Shifting too far
details
17ok pass BUG pass pass Invalid shift argument
detailsdetails
18pass pass pass pass pass Read builtin
19pass pass pass pass pass Read builtin with no newline.
20pass pass pass pass pass Read builtin with multiple variables
21pass pass pass pass pass Read builtin with not enough variables
22pass pass pass pass pass get umask
23pass pass pass pass pass set umask in octal
24pass pass pass FAIL FAIL set umask symbolically
detailsdetails

108 passed, 5 ok, 3 known unimplemented, 5 known bugs, 2 failed, 0 skipped

Details on runs that didn't PASS

dash1 echo -en

stdout:
-en abc
def

stderr:
osh1 echo -en

[osh stdout] Expected u'abc\ndef\n', got 'abc\\ndef\\n'

stdout:
abc\ndef\n
stderr:
osh warning: *** echo -e not implemented ***
osh_ALT1 echo -en

[osh_ALT stdout] Expected u'abc\ndef\n', got 'abc\\ndef\\n'

stdout:
abc\ndef\n
stderr:
osh warning: *** echo -e not implemented ***
dash2 echo -ez (invalid flag)

stdout:
-ez abc

stderr:
mksh2 echo -ez (invalid flag)

stdout:
-ez abc

stderr:
dash8 pushd/popd

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

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

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

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

stdout:
stderr: 
mksh12 Exit builtin with too many args

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

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

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

stdout:
stderr: 
osh24 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_ALT24 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 ***