mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Add test for PBD::copy_file
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...
This commit is contained in:
parent
94d8dfa256
commit
7338c4e242
2 changed files with 23 additions and 1 deletions
|
|
@ -5,10 +5,12 @@ class FilesystemTest : public CppUnit::TestFixture
|
|||
{
|
||||
CPPUNIT_TEST_SUITE (FilesystemTest);
|
||||
CPPUNIT_TEST (testPathIsWithin);
|
||||
CPPUNIT_TEST (testCopyFile);
|
||||
CPPUNIT_TEST_SUITE_END ();
|
||||
|
||||
public:
|
||||
void testPathIsWithin ();
|
||||
void testCopyFile ();
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue