X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fsafcm-remote%2Fsync%2Fcommands_test.go;h=f6293b48a99482c34f79a7d27ae764e409d0808f;hb=b088bf0b7e872d0e6ba230d4e4b79625af4fb17e;hp=1c534188eae0439e6c3eda15acd816aa11376e30;hpb=6015bd22c34e8287b43b462facd5ad491296c8c2;p=safcm%2Fsafcm.git diff --git a/cmd/safcm-remote/sync/commands_test.go b/cmd/safcm-remote/sync/commands_test.go index 1c53418..f6293b4 100644 --- a/cmd/safcm-remote/sync/commands_test.go +++ b/cmd/safcm-remote/sync/commands_test.go @@ -54,7 +54,7 @@ func TestSyncCommands(t *testing.T) { }{ // NOTE: Also update MsgSyncResp in safcm test cases when - // changing anything here! + // changing the MsgSyncResp struct! { "successful command", @@ -68,7 +68,7 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group", - Cmd: "echo; env | grep SAFCM_", + Cmd: "echo; env | grep SAFCM_", }, }, }, @@ -111,7 +111,7 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group", - Cmd: "echo; env | grep SAFCM_", + Cmd: "echo; env | grep SAFCM_", }, }, }, @@ -143,7 +143,7 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group", - Cmd: "echo hi; false", + Cmd: "echo hi; false", }, }, }, @@ -187,7 +187,7 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group", - Cmd: "echo hi; false", + Cmd: "echo hi; false", }, }, }, @@ -219,16 +219,16 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group1", - Cmd: "echo first", + Cmd: "echo first", }, { OrigGroup: "group2", - Cmd: "echo second", + Cmd: "echo second", }, { OrigGroup: "group3", - Cmd: "false", + Cmd: "false", }, { OrigGroup: "group4", - Cmd: "echo third", + Cmd: "echo third", }, }, }, @@ -342,7 +342,7 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group", - Cmd: "echo; env | grep SAFCM_", + Cmd: "echo; env | grep SAFCM_", }, }, }, @@ -461,7 +461,7 @@ func TestSyncCommands(t *testing.T) { Commands: []*safcm.Command{ { OrigGroup: "group", - Cmd: "echo; env | grep SAFCM_", + Cmd: "echo; env | grep SAFCM_", }, }, },