diff options
Diffstat (limited to 'vespalib/src/tests/guard/guard_test.cpp')
-rw-r--r-- | vespalib/src/tests/guard/guard_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespalib/src/tests/guard/guard_test.cpp b/vespalib/src/tests/guard/guard_test.cpp index 83de03e3f20..1e7ec21008f 100644 --- a/vespalib/src/tests/guard/guard_test.cpp +++ b/vespalib/src/tests/guard/guard_test.cpp @@ -3,6 +3,7 @@ #include <vespa/log/log.h> LOG_SETUP("guard_test"); #include <vespa/vespalib/testkit/testapp.h> +#include <vespa/vespalib/testkit/test_kit.h> #include <vespa/vespalib/util/guard.h> using namespace vespalib; @@ -132,7 +133,7 @@ Test::testDirPointer() EXPECT_TRUE(!dir.valid()); } { - DirPointer dir(opendir(vespalib::TestApp::GetSourceDirectory().c_str())); + DirPointer dir(opendir(TEST_PATH("").c_str())); EXPECT_TRUE(dir.valid()); dirent *de; |