2010-06-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

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
This commit is contained in:
Tatsuhiro Tsujikawa 2010-06-22 12:28:37 +00:00
parent d787906b34
commit 769783dab4
13 changed files with 40 additions and 24 deletions

View file

@ -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<FileEntry> 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";