Tim Mayberry
7338c4e242
From this I can see that PBD::copy_file is not working correctly on windows as it is adding windows style line endings. Adding O_BINARY to ::open flags would fix it, but perhaps there is a better way...
17 lines
326 B
C++
17 lines
326 B
C++
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
class FilesystemTest : public CppUnit::TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (FilesystemTest);
|
|
CPPUNIT_TEST (testPathIsWithin);
|
|
CPPUNIT_TEST (testCopyFile);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void testPathIsWithin ();
|
|
void testCopyFile ();
|
|
|
|
};
|
|
|