Re: [OE-core] [PATCH] logrotate.py: restore /etc/logrotate.d/wtmp

2019-02-18 Thread Yu, Mingli
Ping. This patch is used to fix the incomplete cleanup for logrotate test in oeqa. Thanks, On 2019年02月13日 13:43, mingli...@windriver.com wrote: From: Mingli Yu During the test logrotate.LogrotateTest.test_1_logrotate_setup, there is below logic: # mkdir $HOME/logrotate_dir # sed -i

[OE-core] [PATCH] logrotate.py: restore /etc/logrotate.d/wtmp

2019-02-12 Thread mingli.yu
From: Mingli Yu During the test logrotate.LogrotateTest.test_1_logrotate_setup, there is below logic: # mkdir $HOME/logrotate_dir # sed -i "s#wtmp {#wtmp {\nolddir $HOME/logrotate_dir#" /etc/logrotate.d/wtmp After all logrotate.LogrotateTest finished, only cleanup $HOME/logrotate_dir as