X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm%2Fmain_sync_test.go;h=8726307cba408a1002722bd2a7dc1e17d09ee524;hp=0b54aeffc54d14dd72de424d9769b921df2548d0;hb=8222dd7be72bef3773eb66b04af6094e584b13fb;hpb=17e43bcada25c22f459827851faa34f8f4df3d33 diff --git a/cmd/safcm/main_sync_test.go b/cmd/safcm/main_sync_test.go index 0b54aef..8726307 100644 --- a/cmd/safcm/main_sync_test.go +++ b/cmd/safcm/main_sync_test.go @@ -217,7 +217,7 @@ func TestSyncSshEndToEnd(t *testing.T) { []string{"-n", "no-effect-commands.example.org"}, `[info] [no-effect-commands.example.org] remote helper upload in progress [info] [no-effect-commands.example.org] -executed 2 command(s): (dry-run) +will execute 2 command(s): (dry-run) "echo this is a command" "true" `, @@ -232,7 +232,7 @@ executed 2 command(s): (dry-run) [verbose] [no-effect-commands.example.org] host groups: all no-effect-commands.example.org [verbose] [no-effect-commands.example.org] host group priorities (descending): no-effect-commands.example.org [info] [no-effect-commands.example.org] -executed 2 command(s): (dry-run) +will execute 2 command(s): (dry-run) "echo this is a command" "true" `, @@ -280,7 +280,7 @@ executed 2 command(s): []string{"-n", "no-effect-commands-failing.example.org"}, `[info] [no-effect-commands-failing.example.org] remote helper upload in progress [info] [no-effect-commands-failing.example.org] -executed 2 command(s): (dry-run) +will execute 2 command(s): (dry-run) "echo this is a command" "echo failing; false" `, @@ -295,7 +295,7 @@ executed 2 command(s): (dry-run) [verbose] [no-effect-commands-failing.example.org] host groups: all no-effect-commands-failing.example.org [verbose] [no-effect-commands-failing.example.org] host group priorities (descending): no-effect-commands-failing.example.org [info] [no-effect-commands-failing.example.org] -executed 2 command(s): (dry-run) +will execute 2 command(s): (dry-run) "echo this is a command" "echo failing; false" `,