Re: question about logger tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux