Results for command_.test.sh

statusoshosh_.pyosh_.cc
pass 141414
ok 111
total151515
caseoshosh_.pyosh_.ccdescription
0pass pass pass Command block
1pass pass pass Permission denied
2pass pass pass Not a dir
3pass pass pass Name too long
4pass pass pass External programs don't have _OVM in environment
5pass pass pass File with no shebang is executed
6pass pass pass File with relative path and no shebang is executed
7pass pass pass File in relative subdirectory and no shebang is executed
8pass pass pass $PATH lookup
9pass pass pass filling $PATH cache, then insert the same command earlier in cache
10pass pass pass filling $PATH cache, then deleting command
11pass pass pass Non-executable on $PATH
12pass pass pass hash without args prints the cache
13pass pass pass hash with args
14ok ok ok hash -r doesn't allow additional args
detailsdetailsdetails
42 passed, 3 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh14 hash -r doesn't allow additional args

stdout:
status=2
stderr:
  hash -r whoami >/dev/null  # avoid weird output with mksh
  ^~~~
[ stdin ]:1: 'hash' got extra arguments after -r
osh_.py14 hash -r doesn't allow additional args

stdout:
status=2
stderr:
  hash -r whoami >/dev/null  # avoid weird output with mksh
  ^~~~
[ stdin ]:1: 'hash' got extra arguments after -r
osh_.cc14 hash -r doesn't allow additional args

stdout:
status=2
stderr:
  hash -r whoami >/dev/null  # avoid weird output with mksh
  ^~~~
[ stdin ]:1: 'hash' got extra arguments after -r