diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2016-07-03 18:38:19 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2016-07-03 18:38:19 +0200 |
commit | 8e952b6b377d78c6c1c409e7e754cea880268ee1 (patch) | |
tree | 5f9bf4f5c24aa48e426ec74d8739e8d88f99cd67 /document | |
parent | a679ca22f03b74700b40fe0cfdf82170e2736be9 (diff) |
fixing warnings found a bug in the test
Diffstat (limited to 'document')
-rw-r--r-- | document/src/tests/documenttestcase.cpp | 2 |
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()) { |