]> granicus.if.org Git - taglib/commitdiff
Renamed unsupported-extension.xxx and modified test
authorRamesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Thu, 22 Dec 2016 15:13:39 +0000 (15:13 +0000)
committerRamesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Thu, 22 Dec 2016 15:19:45 +0000 (15:19 +0000)
The file name unsupported-extension.xxx causes issue when unpacked
taglib-xxx.gz over an NFS partition. The file extension ".xxx" is the
one NFS uses for its own purpose and hence it will not allow creation
of this file.

Hence renamed the file and modified the test cases that checks for this
file.

Signed-off-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
tests/data/unsupported-extension.xx [moved from tests/data/unsupported-extension.xxx with 100% similarity]
tests/test_fileref.cpp

index 2d77682a33fa50df4c62f49ce3fb6750be25b83a..1b899975c44a1bfd55a937653b8bcf6f757bd4ac 100644 (file)
@@ -233,7 +233,7 @@ public:
     FileRef f1(TEST_FILE_PATH_C("no-extension"));
     CPPUNIT_ASSERT(f1.isNull());
 
-    FileRef f2(TEST_FILE_PATH_C("unsupported-extension.xxx"));
+    FileRef f2(TEST_FILE_PATH_C("unsupported-extension.xx"));
     CPPUNIT_ASSERT(f2.isNull());
   }