diff options
Diffstat (limited to 'vespalib/src/tests/guard/guard_test.cpp')
-rw-r--r-- | vespalib/src/tests/guard/guard_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/guard/guard_test.cpp b/vespalib/src/tests/guard/guard_test.cpp index a663edc4eec..83de03e3f20 100644 --- a/vespalib/src/tests/guard/guard_test.cpp +++ b/vespalib/src/tests/guard/guard_test.cpp @@ -132,7 +132,7 @@ Test::testDirPointer() EXPECT_TRUE(!dir.valid()); } { - DirPointer dir(opendir(".")); + DirPointer dir(opendir(vespalib::TestApp::GetSourceDirectory().c_str())); EXPECT_TRUE(dir.valid()); dirent *de; |