diff --git a/tools/fileinfo/detection/installers/smart_install_maker/Setup_1_nouninst_none_504.exe_ b/tools/fileinfo/detection/installers/smart_install_maker/Setup_1_nouninst_none_504.exe_ new file mode 100644 index 0000000..0c094a9 Binary files /dev/null and b/tools/fileinfo/detection/installers/smart_install_maker/Setup_1_nouninst_none_504.exe_ differ diff --git a/tools/fileinfo/detection/installers/smart_install_maker/Setup_calc.exe_ b/tools/fileinfo/detection/installers/smart_install_maker/Setup_calc.exe_ new file mode 100644 index 0000000..642b795 Binary files /dev/null and b/tools/fileinfo/detection/installers/smart_install_maker/Setup_calc.exe_ differ diff --git a/tools/fileinfo/detection/installers/smart_install_maker/Setup_comp_max_502.exe_ b/tools/fileinfo/detection/installers/smart_install_maker/Setup_comp_max_502.exe_ new file mode 100644 index 0000000..c3424b7 Binary files /dev/null and b/tools/fileinfo/detection/installers/smart_install_maker/Setup_comp_max_502.exe_ differ diff --git a/tools/fileinfo/detection/installers/smart_install_maker/Setup_comp_ultra_410.exe_ b/tools/fileinfo/detection/installers/smart_install_maker/Setup_comp_ultra_410.exe_ new file mode 100644 index 0000000..5483b9b Binary files /dev/null and b/tools/fileinfo/detection/installers/smart_install_maker/Setup_comp_ultra_410.exe_ differ diff --git a/tools/fileinfo/detection/installers/smart_install_maker/test.py b/tools/fileinfo/detection/installers/smart_install_maker/test.py new file mode 100644 index 0000000..189a751 --- /dev/null +++ b/tools/fileinfo/detection/installers/smart_install_maker/test.py @@ -0,0 +1,22 @@ +from regression_tests import * + +class Test(Test): + settings = TestSettings( + tool='fileinfo', + input=[ + 'Setup_calc.exe_', + 'Setup_comp_ultra_410.exe_', + 'Setup_comp_max_502.exe_', + 'Setup_1_nouninst_none_504.exe_' + ], + args='--json' + ) + + def test_correctly_analyzes_input_file(self): + installer_recognized = False + + self.assertTrue(self.fileinfo.succeeded) + for tool in self.fileinfo.output['tools']: + if tool['type'] == 'installer' and tool['name'] == 'Smart Install Maker': + installer_recognized = True + self.assertTrue(installer_recognized)