Results for hay-isolation.test.sh

statusoshosh-cpp
pass 61
FAIL 05
total66
caseoshosh-cppdescription
0pass pass Turn off external binaries with shvar PATH='' {}
1pass FAIL More shvar PATH=''
details
2pass FAIL builtins and externals not available in hay eval
details
3pass FAIL procs in hay eval
details
4pass FAIL variables mutated within hay eval don't persist
details
5pass FAIL hay at top level allows arbitrary commands
details
7 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp1 More shvar PATH=''

[osh-cpp 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: 'cp' not found
      cp -v file /tmp >&2
      ^~
[ stdin ]:8: 'cp' not found
      true $(cp -v file /tmp >&2)
             ^~
[ stdin ]:13: 'cp' not found
osh-cpp2 builtins and externals not available in hay eval

[osh-cpp stdout] Expected 'status 127\nstatus 127\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp3 procs in hay eval

[osh-cpp stdout] Expected 'outside\ninside\n1 OUT\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp4 variables mutated within hay eval don't persist

[osh-cpp stdout] Expected 'x = 42\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp5 hay at top level allows arbitrary commands

[osh-cpp stdout] Expected '3\n4\ninside\n', got ''
[osh-cpp status] Expected 127, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core