From 8dba77928dee264850a438e71f1638c073cc133b Mon Sep 17 00:00:00 2001 From: val06 Date: Wed, 17 Jan 2024 22:20:26 +0200 Subject: [PATCH] [EBPF-376]: split testdata between ebpf and telemetry pkgs (#22133) [EBPF-376]: split testdata between ebpf and telemetry pkgs --- pkg/ebpf/telemetry/debugfs_test.go | 2 +- pkg/ebpf/{ => telemetry}/testdata/kprobe_profile | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename pkg/ebpf/{ => telemetry}/testdata/kprobe_profile (100%) diff --git a/pkg/ebpf/telemetry/debugfs_test.go b/pkg/ebpf/telemetry/debugfs_test.go index 69774c93a385e..cf722b566261d 100644 --- a/pkg/ebpf/telemetry/debugfs_test.go +++ b/pkg/ebpf/telemetry/debugfs_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/require" ) -const testProfile = "../testdata/kprobe_profile" +const testProfile = "./testdata/kprobe_profile" func TestReadKprobeProfile(t *testing.T) { m, err := readKprobeProfile(testProfile) diff --git a/pkg/ebpf/testdata/kprobe_profile b/pkg/ebpf/telemetry/testdata/kprobe_profile similarity index 100% rename from pkg/ebpf/testdata/kprobe_profile rename to pkg/ebpf/telemetry/testdata/kprobe_profile