summaryrefslogtreecommitdiff
path: root/test/SingleFileAllocationIteratorTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/SingleFileAllocationIteratorTest.cc')
-rw-r--r--test/SingleFileAllocationIteratorTest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SingleFileAllocationIteratorTest.cc b/test/SingleFileAllocationIteratorTest.cc
index a6002b10..04387a19 100644
--- a/test/SingleFileAllocationIteratorTest.cc
+++ b/test/SingleFileAllocationIteratorTest.cc
@@ -24,7 +24,7 @@ CPPUNIT_TEST_SUITE_REGISTRATION( SingleFileAllocationIteratorTest );
void SingleFileAllocationIteratorTest::testAllocate()
{
- std::string dir = "./";
+ std::string dir = A2_TEST_OUT_DIR;
std::string fname = "aria2_SingleFileAllocationIteratorTest_testAllocate";
std::string fn = dir+"/"+fname;
std::ofstream of(fn.c_str(), std::ios::binary);