Created utility function to extract extension from filename, fixed tests

This commit is contained in:
Shashank Tavildar
2019-10-29 12:27:54 -07:00
parent 5e6dbad6c1
commit 9ab6a747d4
4 changed files with 20 additions and 7 deletions
+3
View File
@@ -1430,6 +1430,9 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
return result;
}
/* List used to compare file extensions (used with --exclude-compressed flag)
* Different from the suffixList and should only apply to ZSTD compress operationResult
*/
static const char *compressedFileExtensions[] = {
ZSTD_EXTENSION,
TZSTD_EXTENSION,