diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/runtime/logrotate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/logrotate.py b/meta/lib/oeqa/runtime/logrotate.py index cf88c54dfa..063280b5f7 100644 --- a/meta/lib/oeqa/runtime/logrotate.py +++ b/meta/lib/oeqa/runtime/logrotate.py | |||
@@ -27,3 +27,4 @@ class LogrotateTest(oeRuntimeTest): | |||
27 | self.assertEqual(status, 0, msg = "logrotate service could not be reloaded. Status and output: %s and %s" % (status, output)) | 27 | self.assertEqual(status, 0, msg = "logrotate service could not be reloaded. Status and output: %s and %s" % (status, output)) |
28 | output = self.target.run('ls -la $HOME/logrotate_dir/ | wc -l')[1] | 28 | output = self.target.run('ls -la $HOME/logrotate_dir/ | wc -l')[1] |
29 | self.assertTrue(int(output)>=3, msg = "new logfile could not be created. List of files within log directory: %s" %(self.target.run('ls -la $HOME/logrotate_dir')[1])) | 29 | self.assertTrue(int(output)>=3, msg = "new logfile could not be created. List of files within log directory: %s" %(self.target.run('ls -la $HOME/logrotate_dir')[1])) |
30 | self.target.run('rm -rf $HOME/logrotate_dir') | ||