On Fri, May 15, 2015 at 4:19 PM Jan Seidel <[email protected]> wrote:
> Hi everyone, > > I noticed that autotest clears dmesg at the end of each test. In our > environment we have a few tools that monitor dmesg and would rather not > have it cleared automatically. Is there a way to disable this? > Jan, I'm sorry for not answering this before. Nish already gave a good answer, I'm only going to complement it. Yes, we could make it configurable (after all, it's just a string with the command in L188 of client/base_sysinfo.py, which could be replaced with a config option. However, the more proper solution involves refactoring that code to allow other commands to be equally easily configurable, and that requires more time than we have available. We'd be happy to take patches, though. We in fact did make that refactor, but in our autotest successor project, avocado. There you can tell in your user config file paths to other files containing which commands you want executed and which files you want to watch. The options you'd have are: 1) Have the modifications of base_sysinfo.py on a separate branch 2) Refactor the code and make commands executed pre/post test and files watched configurable. Where 2) involves significantly more work. Cheers, Lucas > Thanks, > Jan > > _______________________________________________ > Autotest-kernel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/autotest-kernel
_______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
