Skip to content

Commit

Permalink
fix(libebpfdiscoveryskel): Fix inPtrData member name in BPF tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hparzych committed Oct 6, 2023
1 parent d65b35f commit eb9eef7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libebpfdiscoveryskel/test/DiscoveryTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ class DiscoveryTest : public ::testing::Test {
}
}

discoveryTest_bpf* testSkel;
discoveryTest_bpf::discoveryTest_bpf__bss* testBss;

std::vector<char> inPtrData;

void checkLoaded() {
if (!isLoaded()) {
throw std::runtime_error("DiscoveryTest is uninitialized");
}
}

discoveryTest_bpf* testSkel;
discoveryTest_bpf::discoveryTest_bpf__bss* testBss;

std::vector<char> inPtrSrc;
};

void attachBpfProgram(bpf_program* prog) {
Expand Down

0 comments on commit eb9eef7

Please sign in to comment.