Re: question about logger tests

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

 



On Thu, Mar 26, 2015 at 02:50:33PM +0100, Ruediger Meier wrote:
> Our logger tests fail if it can't connect to /dev/log. I'd like to fix 
> that case for the test-suite but have some questions:
> 
> 1. It was confusing for me to figure out the actual
>    problem. Maybe --no-act and/or --stderr should imply
>    that --socket-errors=auto turns error printing on?

Hmm.. probably good idea.

> 2. Alternatively we could use --socket-errors=on for all tests.
> 
> 3. Couldn't we fix --no-act to not need an open /dev/log at all?

But then it will introduce another fragility, complexity and
difference between test (--no-act) and non-test mode. I see for
example "if(ctl->fd < 0)" in code. Now it really skips write() only.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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