From 6ee1237847cb560f06c82e66c735b1873902b405 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 1 Nov 2025 08:40:21 +0100 Subject: [PATCH] tests: end-to-end: improve test names --- cmd/safcm/main_sync_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/safcm/main_sync_test.go b/cmd/safcm/main_sync_test.go index 1adb5e1..d09baf8 100644 --- a/cmd/safcm/main_sync_test.go +++ b/cmd/safcm/main_sync_test.go @@ -108,7 +108,7 @@ func TestSyncSshEndToEnd(t *testing.T) { nil, }, { - "no settings (error)", + "no settings (-log error)", false, true, []string{"-log", "error", "no-settings.example.org"}, @@ -116,7 +116,7 @@ func TestSyncSshEndToEnd(t *testing.T) { nil, }, { - "no settings (verbose)", + "no settings (-log verbose)", false, true, []string{"-log", "verbose", "no-settings.example.org"}, @@ -128,7 +128,7 @@ func TestSyncSshEndToEnd(t *testing.T) { nil, }, { - "no settings (debug2)", + "no settings (-log debug2)", false, true, []string{"-log", "debug2", "no-settings.example.org"}, @@ -154,7 +154,7 @@ func TestSyncSshEndToEnd(t *testing.T) { nil, }, { - "no changes (dry-run, debug2)", + "no changes (dry-run -log debug2)", false, true, []string{"-n", "-log", "debug2", "no-changes.example.org"}, @@ -179,7 +179,7 @@ func TestSyncSshEndToEnd(t *testing.T) { nil, }, { - "no changes (debug2)", + "no changes (-log debug2)", skipUnlessCiRun, true, []string{"-log", "debug2", "no-changes.example.org"}, @@ -208,7 +208,7 @@ will execute 2 command(s): (dry-run) nil, }, { - "no effect commands (dry-run)", + "no effect commands (dry-run -log debug2)", false, true, []string{"-n", "-log", "debug2", "no-effect-commands.example.org"}, @@ -237,7 +237,7 @@ executed 2 command(s): nil, }, { - "no effect commands (debug2)", + "no effect commands (-log debug2)", false, true, []string{"-log", "debug2", "no-effect-commands.example.org"}, @@ -271,7 +271,7 @@ will execute 2 command(s): (dry-run) nil, }, { - "no effect commands failing (dry-run)", + "no effect commands failing (dry-run -log debug2)", false, true, []string{"-n", "-log", "debug2", "no-effect-commands-failing.example.org"}, @@ -302,7 +302,7 @@ executed 2 command(s): fmt.Errorf("exit status 1"), }, { - "no effect commands failing (debug2)", + "no effect commands failing (-log debug2)", false, true, []string{"-log", "debug2", "no-effect-commands-failing.example.org"}, -- 2.51.2