srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_privileges.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_privileges.cpp')
-rw-r--r--tests/test_privileges.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_privileges.cpp b/tests/test_privileges.cpp
index 287d654..99951b8 100644
--- a/tests/test_privileges.cpp
+++ b/tests/test_privileges.cpp
@@ -1,7 +1,7 @@
#include <doctest/doctest.h>
#include <unistd.h>
-#include "wireframe/privileges.hpp"
+#include "packeteer/privileges.hpp"
// The actual drop sequence (setuid/setgid) can only be meaningfully
// exercised by literally running as root, which a unit test shouldn't
@@ -14,5 +14,5 @@
// touch privileges it doesn't have.
TEST_CASE("drop_privileges_if_root is a no-op when not running as root") {
if (geteuid() == 0) return; // this test only makes sense unprivileged
- CHECK_FALSE(wireframe::drop_privileges_if_root().has_value());
+ CHECK_FALSE(packeteer::drop_privileges_if_root().has_value());
}