fixed tests
This commit is contained in:
parent
75e6d3240f
commit
8f27cb1842
2 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
)
|
||||
|
||||
func TestRunScript(t *testing.T) {
|
||||
stdout, stderr, exitcode, err := system.RunScript("#!/bin/sh\nuname -av", "/bin/bash", nil, 30)
|
||||
_, stderr, exitcode, err := system.RunScript("#!/bin/sh\nuname -av", "/bin/bash", nil, 30)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue