On 2014-06-12 Pavel Raiskup wrote:
> Just a note - I wanted the exact output to be
> compared (not just check the exit value), that is the reason why I
> test the '-h/-H/-l' options because that could reveal similar bugs
> like that which was fixed e.g. by commits bd5002f5 or 40277998.  But
> that really needs not-so naive testsuite.  Would you be interested in
> autotest solution?

Maybe in the future, but maybe not before 5.2.0. I should get familiar
with the new things too so that I know what I'm maintaining.

I committed something simple to get the result you wanted, I hope. I
used cmp -s (it's in SUSv2) instead of diff -u because diff -u isn't in
POSIX before POSIX-1.2008. Maybe I should have used plain diff, but
it's not much extra to type if the test happens to fail, which should
be rare.

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode

Reply via email to