For systems that support /proc/config.gz, we can use the config only if it's properly uncompressed. So, uncompress the config file, and then pass it to autotest.
Signed-off-by: Lucas Meneghel Rodrigues <l...@redhat.com> --- client/kernel_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/kernel_config.py b/client/kernel_config.py index 20b6fb9..bb5b226 100644 --- a/client/kernel_config.py +++ b/client/kernel_config.py @@ -73,6 +73,9 @@ class kernel_config(object): running_config = utils.running_config() if running_config is None: running_config = '' + if running_config.endswith('.gz'): + utils.system('cat %s | gzip > /tmp/running-config') + running_config = '/tmp/running_config' self.running_config = running_config # 1. Get original config file -- 1.7.10.2 _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest