From 8e26ab7d52edd13ffa50b2d0b26606bea8890e76 Mon Sep 17 00:00:00 2001 From: Lucian Musat Date: Fri, 25 Jul 2014 12:02:30 +0300 Subject: oeqa/rutime: Added testcase decorators for automated runtime tests. Also added LogResults decorator for oeTest class in oetest.py (From OE-Core rev: 95b83084487d0712362ade8ac487999c3274bb96) Signed-off-by: Lucian Musat Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/logrotate.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib/oeqa/runtime/logrotate.py') diff --git a/meta/lib/oeqa/runtime/logrotate.py b/meta/lib/oeqa/runtime/logrotate.py index 80489a3267..86d791c300 100644 --- a/meta/lib/oeqa/runtime/logrotate.py +++ b/meta/lib/oeqa/runtime/logrotate.py @@ -19,6 +19,7 @@ class LogrotateTest(oeRuntimeTest): (status, output) = self.target.run("sed -i 's#wtmp {#wtmp {\\n olddir /home/root/logrotate_dir#' /etc/logrotate.conf") self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output)) + @testcase(289) @skipUnlessPassed("test_1_logrotate_setup") def test_2_logrotate(self): (status, output) = self.target.run('logrotate -f /etc/logrotate.conf') -- cgit v1.2.3-54-g00ecf