X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm%2Fsync_sync_test.go;h=1294a452dc65bbff13d74852789efdf356cc75e6;hp=cf24d59801562f72641e4fc808074d2a5750e03b;hb=1934f1ab83306dff45310d5b45e2a99c97e28c35;hpb=2f27353fdf81b3d0dff842a4d2e24b8963a65c6b diff --git a/cmd/safcm/sync_sync_test.go b/cmd/safcm/sync_sync_test.go index cf24d59..1294a45 100644 --- a/cmd/safcm/sync_sync_test.go +++ b/cmd/safcm/sync_sync_test.go @@ -136,9 +136,13 @@ func TestHostSyncReq(t *testing.T) { Services: []string{ "unbound", }, - Commands: []string{ - "echo command one", - "echo -n command two", + Commands: []*safcm.Command{ + { + Cmd: "echo command one", + }, + { + Cmd: "echo -n command two", + }, }, }, []string{ @@ -235,9 +239,13 @@ func TestHostSyncReq(t *testing.T) { Services: []string{ "unbound", }, - Commands: []string{ - "echo command one", - "echo -n command two", + Commands: []*safcm.Command{ + { + Cmd: "echo command one", + }, + { + Cmd: "echo -n command two", + }, }, }, nil,