diff --git a/tools/fileinfo/detection/installers/astrum/87d55c52d358adb705d0b58f478a3e555acf76b7ba79f9eea6353d18cef558ca b/tools/fileinfo/detection/installers/astrum/87d55c52d358adb705d0b58f478a3e555acf76b7ba79f9eea6353d18cef558ca new file mode 100644 index 00000000..7df2dc61 Binary files /dev/null and b/tools/fileinfo/detection/installers/astrum/87d55c52d358adb705d0b58f478a3e555acf76b7ba79f9eea6353d18cef558ca differ diff --git a/tools/fileinfo/detection/installers/astrum/db23546116825fe5fd43210e3f2595cd675eab72e2f900df4a2b6756737379c0 b/tools/fileinfo/detection/installers/astrum/db23546116825fe5fd43210e3f2595cd675eab72e2f900df4a2b6756737379c0 new file mode 100644 index 00000000..428cdafc Binary files /dev/null and b/tools/fileinfo/detection/installers/astrum/db23546116825fe5fd43210e3f2595cd675eab72e2f900df4a2b6756737379c0 differ diff --git a/tools/fileinfo/detection/installers/astrum/test.py b/tools/fileinfo/detection/installers/astrum/test.py new file mode 100644 index 00000000..51c66a21 --- /dev/null +++ b/tools/fileinfo/detection/installers/astrum/test.py @@ -0,0 +1,20 @@ +from regression_tests import * + +class Test(Test): + settings = TestSettings( + tool='fileinfo', + input=[ + '87d55c52d358adb705d0b58f478a3e555acf76b7ba79f9eea6353d18cef558ca', + 'db23546116825fe5fd43210e3f2595cd675eab72e2f900df4a2b6756737379c0' + ], + args='--json' + ) + + def test_correctly_analyzes_input_file(self): + astrum_recognised = False + + self.assertTrue(self.fileinfo.succeeded) + for tool in self.fileinfo.output['tools']: + if tool['type'] == 'installer' and tool['name'] == 'Astrum': + astrum_recognised = True + self.assertTrue(astrum_recognised)