From 1b838b4bd75f21e45e8a40407b1e3279dd5935d2 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 30 Jun 2017 09:13:17 +0200 Subject: Define download_images.sh and check_os.sh as scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It also updates all python scripts which call check_os.sh. The former healthcheck.sh is removed. No shell script must be executable in git. Change-Id: If4e8deb50ebd635a9091e3bb79ef61c07b9660dc Signed-off-by: Cédric Ollivier --- functest/cli/commands/cli_os.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'functest/cli/commands') diff --git a/functest/cli/commands/cli_os.py b/functest/cli/commands/cli_os.py index 875529f25..44181d4f0 100644 --- a/functest/cli/commands/cli_os.py +++ b/functest/cli/commands/cli_os.py @@ -9,7 +9,6 @@ import os -import pkg_resources import click @@ -50,8 +49,7 @@ class CliOpenStack(object): def check(self): self.ping_endpoint() - ft_utils.execute_command("sh %s" % pkg_resources.resource_filename( - 'functest', 'ci/check_os.sh'), verbose=False) + ft_utils.execute_command("check_os.sh", verbose=False) def snapshot_create(self): self.ping_endpoint() -- cgit 1.2.3-korg