From: Randy Witt <randy.e.witt@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] lib/oeqa/runtime/systemd: Add a basic runtime test for the journal
Date: Wed, 11 Mar 2015 14:28:12 -0700 [thread overview]
Message-ID: <5500B36C.6060304@linux.intel.com> (raw)
In-Reply-To: <1426109145-12904-1-git-send-email-randy.e.witt@linux.intel.com>
Sorry, please ignore this previously submitted patch.
On 03/11/2015 02:25 PM, Randy Witt wrote:
> The test_systemd_journal() test will fail if journalctl exits with a
> non-zero exit status. The exit status is non-zero even if there are no
> journal files, which is what drove the creation of this test.
> [Yocto #7388]
>
> Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
> ---
> meta/lib/oeqa/runtime/systemd.py | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta/lib/oeqa/runtime/systemd.py b/meta/lib/oeqa/runtime/systemd.py
> index 1451698..5935edd 100644
> --- a/meta/lib/oeqa/runtime/systemd.py
> +++ b/meta/lib/oeqa/runtime/systemd.py
> @@ -86,3 +86,9 @@ class SystemdServiceTests(SystemdTest):
> self.systemctl('is-enabled', 'avahi-daemon.service', expected=1)
> self.systemctl('enable', 'avahi-daemon.service')
> self.systemctl('is-enabled', 'avahi-daemon.service')
> +
> +class SystemdJournalTests(SystemdTest):
> + @skipUnlessPassed('test_ssh')
> + def test_systemd_journal(self):
> + (status, output) = self.target.run('journalctl')
> + self.assertEqual(status, 0, output)
>
next prev parent reply other threads:[~2015-03-11 21:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-11 21:25 [PATCH] lib/oeqa/runtime/systemd: Add a basic runtime test for the journal Randy Witt
2015-03-11 21:28 ` Randy Witt [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-03-09 20:04 Randy Witt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5500B36C.6060304@linux.intel.com \
--to=randy.e.witt@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.