Results for hay-isolation.test.sh

statusosh
pass 4
FAIL 2
total6
caseoshdescription
0pass Turn off external binaries with shvar PATH='' {}
1FAIL More shvar PATH=''
details
2FAIL builtins and externals not available in hay eval
details
3pass procs in hay eval
4pass variables mutated within hay eval don't persist
5pass hay at top level allows arbitrary commands
4 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh1 More shvar PATH=''

[osh stdout] Expected 'status=127\nstatus=127\n_status 127\n' Got 'status=127\nstatus=127\n_status\n'

stdout:
status=127
status=127
_status
stderr:
    ( cp -v file /tmp >&2 )
      ^~
[ stdin ]:4: Command 'cp' not found (OILS-ERR-100)
      cp -v file /tmp >&2
      ^~
[ stdin ]:8: Command 'cp' not found (OILS-ERR-100)
      true $(cp -v file /tmp >&2)
             ^~
[ stdin ]:13: Command 'cp' not found (OILS-ERR-100)
osh2 builtins and externals not available in hay eval

[osh stdout] Expected 'status 127\nstatus 127\n' Got 'status \nstatus \n'

stdout:
status 
status 
stderr:
        /bin/ls
        ^
[ stdin ]:9: Unknown command '/bin/ls' while running hay
      cd /tmp
      ^~
[ stdin ]:17: Unknown command 'cd' while running hay