fix output paths
This commit is contained in:
@@ -17,12 +17,10 @@ void CreateBinaryTestFile( RageFile &f, int size )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern CString g_Root;
|
|
||||||
|
|
||||||
void CreateBinaryTestFile( CString fn, int size )
|
void CreateBinaryTestFile( CString fn, int size )
|
||||||
{
|
{
|
||||||
RageFile f;
|
RageFile f;
|
||||||
f.Open( g_Root + "/" + fn, RageFile::WRITE );
|
f.Open( fn, RageFile::WRITE );
|
||||||
CreateBinaryTestFile( f, size );
|
CreateBinaryTestFile( f, size );
|
||||||
f.Close();
|
f.Close();
|
||||||
|
|
||||||
@@ -102,7 +100,7 @@ void TestText( int LineSize, bool DOS )
|
|||||||
if( CreateTestFiles )
|
if( CreateTestFiles )
|
||||||
{
|
{
|
||||||
RageFile f;
|
RageFile f;
|
||||||
f.Open( g_Root + "/" + filename, RageFile::WRITE );
|
f.Open( filename, RageFile::WRITE );
|
||||||
|
|
||||||
for( unsigned line = 0; line < NumLines; ++line )
|
for( unsigned line = 0; line < NumLines; ++line )
|
||||||
{
|
{
|
||||||
@@ -249,7 +247,7 @@ void TestSeek( bool relative )
|
|||||||
/* Output a line of text, followed by some junk, followed by binary
|
/* Output a line of text, followed by some junk, followed by binary
|
||||||
* test data. */
|
* test data. */
|
||||||
RageFile f;
|
RageFile f;
|
||||||
f.Open( g_Root + "/" + "test.seek", RageFile::WRITE );
|
f.Open( "test.seek", RageFile::WRITE );
|
||||||
f.Write( TestLine );
|
f.Write( TestLine );
|
||||||
f.Write( junk );
|
f.Write( junk );
|
||||||
CreateBinaryTestFile( f, 1024 );
|
CreateBinaryTestFile( f, 1024 );
|
||||||
|
|||||||
Reference in New Issue
Block a user