From 73f9fcb78fbb8453739f6072be7a747156e3d9bf Mon Sep 17 00:00:00 2001 From: blotus Date: Tue, 8 Oct 2024 18:45:09 +0200 Subject: [PATCH] Rename windows test file --- ...tlog_test.go => wineventlog_windows_test.go} | 17 ----------------- 1 file changed, 17 deletions(-) rename pkg/acquisition/modules/wineventlog/{wineventlog_test.go => wineventlog_windows_test.go} (95%) diff --git a/pkg/acquisition/modules/wineventlog/wineventlog_test.go b/pkg/acquisition/modules/wineventlog/wineventlog_windows_test.go similarity index 95% rename from pkg/acquisition/modules/wineventlog/wineventlog_test.go rename to pkg/acquisition/modules/wineventlog/wineventlog_windows_test.go index e1517c3ba22..8d956a6bf37 100644 --- a/pkg/acquisition/modules/wineventlog/wineventlog_test.go +++ b/pkg/acquisition/modules/wineventlog/wineventlog_windows_test.go @@ -3,7 +3,6 @@ package wineventlogacquisition import ( - "runtime" "testing" "time" @@ -18,10 +17,6 @@ import ( ) func TestBadConfiguration(t *testing.T) { - if runtime.GOOS != "windows" { - t.Skip("Skipping test on non-windows OS") - } - exprhelpers.Init(nil) tests := []struct { @@ -66,10 +61,6 @@ xpath_query: test`, } func TestQueryBuilder(t *testing.T) { - if runtime.GOOS != "windows" { - t.Skip("Skipping test on non-windows OS") - } - exprhelpers.Init(nil) tests := []struct { @@ -135,10 +126,6 @@ event_level: bla`, } func TestLiveAcquisition(t *testing.T) { - if runtime.GOOS != "windows" { - t.Skip("Skipping test on non-windows OS") - } - exprhelpers.Init(nil) tests := []struct { @@ -235,10 +222,6 @@ event_ids: } func TestOneShotAcquisition(t *testing.T) { - if runtime.GOOS != "windows" { - t.Skip("Skipping test on non-windows OS") - } - tests := []struct { name string dsn string