Call delete before closing IO in shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -57,6 +57,10 @@ func (p *testProcess) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *testProcess) State() runtime.State {
|
||||
return runtime.Running
|
||||
}
|
||||
|
||||
func TestSortProcesses(t *testing.T) {
|
||||
p := []runtime.Process{
|
||||
&testProcess{"ls"},
|
||||
|
||||
Reference in New Issue
Block a user