aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2016-07-03 18:45:19 +0200
committerGitHub <noreply@github.com>2016-07-03 18:45:19 +0200
commit15ec5ced8d82f275183d5cac32f41b295f109849 (patch)
tree5f9bf4f5c24aa48e426ec74d8739e8d88f99cd67
parenta679ca22f03b74700b40fe0cfdf82170e2736be9 (diff)
parent8e952b6b377d78c6c1c409e7e754cea880268ee1 (diff)
Merge pull request #290 from yahoo/arnej/fix-wrong-serialize-dir
fixing warnings found a bug in the test
-rw-r--r--document/src/tests/documenttestcase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/tests/documenttestcase.cpp b/document/src/tests/documenttestcase.cpp
index f66ee99a722..9f8ab454bd2 100644
--- a/document/src/tests/documenttestcase.cpp
+++ b/document/src/tests/documenttestcase.cpp
@@ -906,7 +906,7 @@ void DocumentTest::testGenerateSerializedFile()
std::unique_ptr<ByteBuffer> buf = doc.serialize();
-#define SERIALIZED_DIR "../../test/document/"
+#define SERIALIZED_DIR "../test/document/"
int fd = open(SERIALIZED_DIR "/serializecpp.dat",
O_WRONLY | O_TRUNC | O_CREAT, 0644);
if (write(fd, buf->getBuffer(), buf->getPos()) != (ssize_t)buf->getPos()) {