diff --git a/tools/fileinfo/detection/installers/gentee_installer/dhsetup.exe_ b/tools/fileinfo/detection/installers/gentee_installer/dhsetup.exe_ new file mode 100644 index 0000000..2dc13b7 Binary files /dev/null and b/tools/fileinfo/detection/installers/gentee_installer/dhsetup.exe_ differ diff --git a/tools/fileinfo/detection/installers/gentee_installer/multires.exe_ b/tools/fileinfo/detection/installers/gentee_installer/multires.exe_ new file mode 100644 index 0000000..82202dc Binary files /dev/null and b/tools/fileinfo/detection/installers/gentee_installer/multires.exe_ differ diff --git a/tools/fileinfo/detection/installers/gentee_installer/test.py b/tools/fileinfo/detection/installers/gentee_installer/test.py new file mode 100644 index 0000000..7299ddb --- /dev/null +++ b/tools/fileinfo/detection/installers/gentee_installer/test.py @@ -0,0 +1,20 @@ +from regression_tests import * + +class Test(Test): + settings = TestSettings( + tool='fileinfo', + input=[ + 'dhsetup.exe_', + 'multires.exe_' + ], + args='--json' + ) + + def test_correctly_analyzes_input_file(self): + create_install_recognized = False + + self.assertTrue(self.fileinfo.succeeded) + for tool in self.fileinfo.output['tools']: + if tool['type'] == 'installer' and tool['name'] == 'GenteeInstaller': + create_install_recognized = True + self.assertTrue(create_install_recognized)