diff --git a/Tools/autotest/vehicle_test_suite.py b/Tools/autotest/vehicle_test_suite.py index fb95fed7cf296..2c0a631b2b68a 100644 --- a/Tools/autotest/vehicle_test_suite.py +++ b/Tools/autotest/vehicle_test_suite.py @@ -5369,7 +5369,10 @@ def install_applet_script_context(self, scriptname, **kwargs): '''installs an applet script which will be removed when the context goes away''' self.install_applet_script(scriptname, **kwargs) - self.context_get().installed_scripts.append(scriptname) + install_name = kwargs.get("install_name") + if install_name is None: + install_name = scriptname + self.context_get().installed_scripts.append(install_name) def rootdir(self): this_dir = os.path.dirname(__file__)