From 769783dab420d5fa0ea8d12b13288edfeb90db2f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 22 Jun 2010 12:28:37 +0000 Subject: 2010-06-22 Tatsuhiro Tsujikawa Made test code not use /tmp * test/CookieStorageTest.cc * test/DirectDiskAdaptorTest.cc * test/FallocFileAllocationIteratorTest.cc * test/FileEntryTest.cc * test/FileTest.cc * test/GZipDecoderTest.cc * test/MultiDiskAdaptorTest.cc * test/MultiFileAllocationIteratorTest.cc * test/RequestGroupManTest.cc * test/SignatureTest.cc * test/SingleFileAllocationIteratorTest.cc * test/UtilTest.cc --- test/MultiFileAllocationIteratorTest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/MultiFileAllocationIteratorTest.cc') diff --git a/test/MultiFileAllocationIteratorTest.cc b/test/MultiFileAllocationIteratorTest.cc index fa3623e8..70b3a518 100644 --- a/test/MultiFileAllocationIteratorTest.cc +++ b/test/MultiFileAllocationIteratorTest.cc @@ -35,7 +35,7 @@ CPPUNIT_TEST_SUITE_REGISTRATION( MultiFileAllocationIteratorTest ); void MultiFileAllocationIteratorTest::testMakeDiskWriterEntries() { - std::string storeDir = "/tmp/aria2_MultiFileAllocationIteratorTest" + std::string storeDir = "./aria2_MultiFileAllocationIteratorTest" "testMakeDiskWriterEntries_"; SharedHandle fs[] = { @@ -137,7 +137,7 @@ void MultiFileAllocationIteratorTest::testMakeDiskWriterEntries() void MultiFileAllocationIteratorTest::testAllocate() { std::string storeDir = - "/tmp/aria2_MultiFileAllocationIteratorTest_testAllocate"; + "./aria2_MultiFileAllocationIteratorTest_testAllocate"; std::string fname1 = "file1"; std::string fname2 = "file2"; -- cgit