From 2a1f0b3ad1220fc6761e9f3978a366f289d1b15f Mon Sep 17 00:00:00 2001 From: Petr Hracek Date: Wed, 4 Oct 2017 10:05:32 +0200 Subject: [PATCH] Fix shebangs and so Signed-off-by: Petr "Stone" Hracek --- meta-test-family.spec | 5 ++++- moduleframework/bashhelper.py | 0 moduleframework/module_framework.py | 0 moduleframework/mtf_environment.py | 4 ++-- moduleframework/mtf_generator.py | 2 +- moduleframework/mtf_log_parser.py | 0 moduleframework/timeoutlib.py | 0 7 files changed, 7 insertions(+), 4 deletions(-) mode change 100755 => 100644 moduleframework/bashhelper.py mode change 100755 => 100644 moduleframework/module_framework.py mode change 100755 => 100644 moduleframework/mtf_environment.py mode change 100755 => 100644 moduleframework/mtf_generator.py mode change 100755 => 100644 moduleframework/mtf_log_parser.py mode change 100755 => 100644 moduleframework/timeoutlib.py diff --git a/meta-test-family.spec b/meta-test-family.spec index 0e08947..e15385b 100644 --- a/meta-test-family.spec +++ b/meta-test-family.spec @@ -1,7 +1,7 @@ %global framework_name moduleframework Name: meta-test-family -Version: 0.7.3 +Version: 0.7.4 Release: 1%{?dist} Summary: Tool to test components of a modular Fedora @@ -54,6 +54,9 @@ install -d -p -m 755 %{buildroot}%{_datadir}/%{framework_name} %changelog +* Wed Oct 04 2017 Petr Hracek 0.7.4-1 +- fix some packaging stuff + * Tue Sep 26 2017 Jan Scotka 0.7.3-1 - remove old test and update template according to changes (jscotka@redhat.com) - fix PDC trouble (Bad response code: 502) with Retry (jscotka@redhat.com) diff --git a/moduleframework/bashhelper.py b/moduleframework/bashhelper.py old mode 100755 new mode 100644 diff --git a/moduleframework/module_framework.py b/moduleframework/module_framework.py old mode 100755 new mode 100644 diff --git a/moduleframework/mtf_environment.py b/moduleframework/mtf_environment.py old mode 100755 new mode 100644 index 03079d0..e9d3c85 --- a/moduleframework/mtf_environment.py +++ b/moduleframework/mtf_environment.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # Meta test family (MTF) is a tool to test components of a modular Fedora: @@ -31,7 +30,6 @@ from moduleframework.environment_prepare.nspawn_prepare import EnvNspawn - module_name = get_module_type_base() print_info("Setting environment for module: {} ".format(module_name)) @@ -42,11 +40,13 @@ elif module_name == "nspawn": env = EnvNspawn() + def mtfenvset(): print_info("Preparing environment ...") # cleanup_env exists in more forms for backend : EnvDocker/EnvRpm/EnvNspawn env.prepare_env() + def mtfenvclean(): # cleanup_env exists in more forms for backend: EnvDocker/EnvRpm/EnvNspawn env.cleanup_env() diff --git a/moduleframework/mtf_generator.py b/moduleframework/mtf_generator.py old mode 100755 new mode 100644 index fab270c..ba98895 --- a/moduleframework/mtf_generator.py +++ b/moduleframework/mtf_generator.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # # Meta test family (MTF) is a tool to test components of a modular Fedora: @@ -37,6 +36,7 @@ from __future__ import print_function from moduleframework.common import CommonFunctions + class TestGenerator(CommonFunctions): def __init__(self): """ diff --git a/moduleframework/mtf_log_parser.py b/moduleframework/mtf_log_parser.py old mode 100755 new mode 100644 diff --git a/moduleframework/timeoutlib.py b/moduleframework/timeoutlib.py old mode 100755 new mode 100644