[Agent] [Executor] fix bugs
This commit is contained in:
@@ -2,6 +2,7 @@ package executor
|
||||
|
||||
import (
|
||||
"github.com/magiconair/properties/assert"
|
||||
"strconv"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -57,3 +58,11 @@ func TestBasicSystemdUp(t *testing.T) {
|
||||
t.Logf("result ok is %v resultLog is %v", ok, resultLog)
|
||||
|
||||
}
|
||||
|
||||
func TestBasicCommandExists(t *testing.T) {
|
||||
|
||||
exists := BasicCommandExists("docker-compose")
|
||||
|
||||
t.Logf("command exists is => %s", strconv.FormatBool(exists))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user