summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/text/utf8/utf8_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/text/utf8/utf8_test.cpp')
-rw-r--r--vespalib/src/tests/text/utf8/utf8_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/text/utf8/utf8_test.cpp b/vespalib/src/tests/text/utf8/utf8_test.cpp
index 99a926f8088..e88fe756e40 100644
--- a/vespalib/src/tests/text/utf8/utf8_test.cpp
+++ b/vespalib/src/tests/text/utf8/utf8_test.cpp
@@ -54,7 +54,7 @@ Test::Main()
{
// read data produced from Java program
- int fd = ::open("regular-utf8.dat", O_RDONLY);
+ int fd = ::open((vespalib::TestApp::GetSourceDirectory() + "regular-utf8.dat").c_str(), O_RDONLY);
ASSERT_TRUE(fd > 0);
vespalib::string data;
data.clear();