On Mon, 2012-06-25 at 23:13 -0300, Lucas Meneghel Rodrigues wrote: > 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.
Sorry about this, it has some glaring bugs and I'll update it here as soon as I get everything tested. Just ignore it :) > Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> > --- > 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 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
