[ Agent ] [ Executor ] 初步完成部署的函数功能
This commit is contained in:
13
agent-go/executor/FunctionalExecutor_test.go
Normal file
13
agent-go/executor/FunctionalExecutor_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package executor
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestReadTimeOutput(t *testing.T) {
|
||||
strings := []string{
|
||||
"/bin/bash",
|
||||
"/root/IdeaProjects/ProjectOctopus/agent-go/tmp/simple.sh",
|
||||
}
|
||||
|
||||
AllOutputCommandExecutor(strings)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user