Results for command_.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 1212129101114
ok 2200001
BUG 1100000
FAIL 0036540
total15151515151515
casebashmkshkshtoyshsushbrushoshdescription
0pass pass pass pass pass pass pass Command block
1pass pass pass FAIL pass pass pass Permission denied
details
2pass pass pass pass pass pass pass Not a dir
3ok pass pass pass pass FAIL pass Name too long
detailsdetails
4pass pass pass pass pass pass pass External programs don't have _OVM in environment
5pass pass pass pass pass pass pass File with no shebang is executed
6pass pass pass pass pass pass pass File with relative path and no shebang is executed
7pass pass pass pass pass pass pass File in relative subdirectory and no shebang is executed
8pass pass pass pass pass pass pass $PATH lookup
9pass pass pass FAIL FAIL pass pass filling $PATH cache, then insert the same command earlier in cache
detailsdetails
10pass ok FAIL FAIL FAIL pass pass filling $PATH cache, then deleting command
detailsdetailsdetailsdetails
11pass pass pass pass pass pass pass Non-executable on $PATH
12ok ok FAIL FAIL FAIL FAIL pass hash without args prints the cache
detailsdetailsdetailsdetailsdetailsdetails
13pass BUG FAIL FAIL FAIL FAIL pass hash with args
detailsdetailsdetailsdetailsdetails
14BUG pass pass FAIL FAIL FAIL ok hash -r doesn't allow additional args
detailsdetailsdetailsdetailsdetails
80 passed, 5 OK, 0 not implemented, 2 BUG, 18 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

toysh1 Permission denied

[toysh status] Expected 126, got 127

stdout:
stderr: 
sh: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/command_.test.sh.3686994/01-toysh/text-file: Permission denied
bash3 Name too long

stdout:
stderr: 
bash: line 1: ./0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789: File name too long
brush3 Name too long

[brush status] Expected 127, got 126

stdout:
stderr: 
ERROR File name too long (os error 36)
toysh9 filling $PATH cache, then insert the same command earlier in cache

[toysh stdout] Expected 'two\ntwo\none\n', got 'two\none\none\n'

stdout:
two
one
one
stderr:
sh: hash: No such file or directory
sush9 filling $PATH cache, then insert the same command earlier in cache

[sush stdout] Expected 'two\ntwo\none\n', got 'two\none\none\n'

stdout:
two
one
one
stderr:
mksh10 filling $PATH cache, then deleting command

stdout:
two
status=0
one
status=0
stderr:
ksh10 filling $PATH cache, then deleting command

[ksh stdout] Expected 'two\nstatus=0\nstatus=127\n', got 'two\nstatus=0\none\nstatus=0\n'

stdout:
two
status=0
one
status=0
stderr:
toysh10 filling $PATH cache, then deleting command

[toysh stdout] Expected 'two\nstatus=0\nstatus=127\n', got 'two\nstatus=0\none\nstatus=0\n'

stdout:
two
status=0
one
status=0
stderr:
sush10 filling $PATH cache, then deleting command

[sush stdout] Expected 'two\nstatus=0\nstatus=127\n', got 'two\nstatus=0\none\nstatus=0\n'

stdout:
two
status=0
one
status=0
stderr:
bash12 hash without args prints the cache

stdout:
hits	command
   1	/usr/bin/whoami
status=0
stderr:
mksh12 hash without args prints the cache

stdout:
whoami=/usr/bin/whoami
status=0
stderr:
ksh12 hash without args prints the cache

[ksh stdout] Expected '/usr/bin/whoami\nstatus=0\n', got 'whoami=/usr/bin/whoami\nstatus=0\n'

stdout:
whoami=/usr/bin/whoami
status=0
stderr:
toysh12 hash without args prints the cache

[toysh stdout] Expected '/usr/bin/whoami\nstatus=0\n', got 'status=127\n'

stdout:
status=127
stderr:
sh: hash: No such file or directory
sush12 hash without args prints the cache

[sush stdout] Expected '/usr/bin/whoami\nstatus=0\n', got 'hits\tcommand\n 1\t/usr/bin/whoami\nstatus=0\n'

stdout:
hits	command
   1	/usr/bin/whoami
status=0
stderr:
brush12 hash without args prints the cache

[brush stdout] Expected '/usr/bin/whoami\nstatus=0\n', got 'status=0\n'

stdout:
status=0
stderr:
mksh13 hash with args

stdout:
status=0
/whoami
status=0
stderr:
ksh13 hash with args

[ksh stdout] Expected 'status=0\n/whoami\nstatus=1\n', got 'status=0\n/whoami\nstatus=0\n'

stdout:
status=0
/whoami
status=0
stderr:
toysh13 hash with args

[toysh stdout] Expected 'status=0\n/whoami\nstatus=1\n', got 'status=127\nstatus=127\n'

stdout:
status=127
status=127
stderr:
sh: hash: No such file or directory
sh: hash: No such file or directory
sh: hash: No such file or directory
sush13 hash with args

[sush stdout] Expected 'status=0\n/whoami\nstatus=1\n', got 'status=0\nstatus=0\n'

stdout:
status=0
status=0
stderr:
brush13 hash with args

[brush stdout] Expected 'status=0\n/whoami\nstatus=1\n', got 'status=0\nstatus=1\n'

stdout:
status=0
status=1
stderr:
_nonexistent_: not found
bash14 hash -r doesn't allow additional args

stdout:
status=0
stderr:
toysh14 hash -r doesn't allow additional args

[toysh stdout] Expected 'status=1\n', got 'status=127\n'

stdout:
status=127
stderr:
sh: hash: No such file or directory
sush14 hash -r doesn't allow additional args

[sush stdout] Expected 'status=1\n', got 'status=0\n'

stdout:
status=0
stderr:
brush14 hash -r doesn't allow additional args

[brush stdout] Expected 'status=1\n', got 'status=0\n'

stdout:
status=0
stderr:
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