[Agent] [Executor] 新增Systemd的部分
This commit is contained in:
@@ -47,3 +47,13 @@ func TestBasicSystemdShutdown(t *testing.T) {
|
||||
t.Logf("result ok is %v resultLog is %v", ok, resultLog)
|
||||
|
||||
}
|
||||
|
||||
func TestBasicSystemdUp(t *testing.T) {
|
||||
|
||||
//ok, resultLog := BasicSystemdUp("docker.service")
|
||||
//ok, resultLog := BasicSystemdUp("docker")
|
||||
ok, resultLog := BasicSystemdUp("fwd")
|
||||
|
||||
t.Logf("result ok is %v resultLog is %v", ok, resultLog)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user