Results for builtins.test.sh

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

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:
/home/andy/git/oilshell/oil/_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
dash13 cd to nonexistent dir

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

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: exit: Illegal number: invalid
bash19 Exit builtin with invalid arg

stdout:
stderr: 
/home/andy/git/oilshell/oil/_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:
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: exit: too many arguments
mksh20 Exit builtin with too many args

stdout:
stderr: 
/home/andy/git/oilshell/oil/_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 1164maxresident)k
0inputs+0outputs (0major+27minor)pagefaults 0swaps
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 7: Syntax error: "}" unexpected
dash24 Shifting too far

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shift: can't shift that many
bash25 Invalid shift argument

stdout:
stderr: 
/home/andy/git/oilshell/oil/_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