[LTP] [PATCH ltp] su01: do pre-checking to avoid annoying warnings

Han Ning ningx.han@intel.com
Fri Dec 16 01:31:07 CET 2016


On Thu, Dec 15, 2016 at 01:12:37PM +0100, Cyril Hrubis wrote:
> Hi!
> > -        userdel $TEST_USER1
> > +        getent passwd $TEST_USER1 && userdel $TEST_USER1
> 
> Shouldn't we redirect the output from getent to /dev/null here?
Yes, we should. I'll send another patch for this. 

> 
> Otherwise it looks fine.
> 
> -- 
> Cyril Hrubis
> chrubis@suse.cz


More information about the ltp mailing list