diff --git a/test/data/test_issue_ghsa_mv9g_fxh2_m49m.crw b/test/data/test_issue_ghsa_mv9g_fxh2_m49m.crw new file mode 100644 index 00000000..e90c5354 Binary files /dev/null and b/test/data/test_issue_ghsa_mv9g_fxh2_m49m.crw differ diff --git a/tests/bugfixes/github/test_issue_ghsa_mv9g_fxh2_m49m.py b/tests/bugfixes/github/test_issue_ghsa_mv9g_fxh2_m49m.py new file mode 100644 index 00000000..eb86c49f --- /dev/null +++ b/tests/bugfixes/github/test_issue_ghsa_mv9g_fxh2_m49m.py @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- + +from system_tests import CaseMeta, path + +class test_issue_ghsa_mv9g_fxh2_m49m(metaclass=CaseMeta): + + filename = path("$data_path/test_issue_ghsa_mv9g_fxh2_m49m.crw") + commands = ["$exiv2 fi $filename"] + stdout = [""] + stderr = ["""Exiv2 exception in fixiso action for file $filename: +$kerCorruptedMetadata +"""] + retval = [1]