From: Ruediger Meier <sweet_f_a@gmx.de>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: question about logger tests
Date: Thu, 9 Apr 2015 20:22:05 +0200 [thread overview]
Message-ID: <201504092022.05569.sweet_f_a@gmx.de> (raw)
In-Reply-To: <20150407100903.GG3923@ws.net.home>
On Tuesday 07 April 2015, Karel Zak wrote:
> On Fri, Apr 03, 2015 at 12:10:57AM +0100, Ruediger Meier wrote:
> > So how could we skip logger tests safely if /dev/log does not work?
>
> Would be enough to test by
>
> socat - UNIX-CONNECT:/dev/log
>
> connect to the socket?
Well, using socat we can also use another socat listening socket instead
of /dev/log at all. BTW we wouldn't even need --stderr and --no-act to
check the written data.
I have done this in my github clone, branch "tests-logger"
https://github.com/rudimeier/util-linux/commits/tests-logger
(Not ready for merge yet.)
cu,
Rudi
prev parent reply other threads:[~2015-04-09 18:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 13:50 question about logger tests Ruediger Meier
2015-03-27 14:14 ` Karel Zak
2015-04-02 23:10 ` Ruediger Meier
2015-04-07 10:09 ` Karel Zak
2015-04-09 18:22 ` Ruediger Meier [this message]
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=201504092022.05569.sweet_f_a@gmx.de \
--to=sweet_f_a@gmx.de \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox