[LTP] [RFC] [PATCH] commands/which01.sh: Fix test for debian.

Jan Stancek jstancek@redhat.com
Thu May 4 21:07:28 CEST 2017



----- Original Message -----
> The which binary on Debian comes from debianutils package and not from
> the which package (like it is on the most of the distros). It does not
> support most of the options, which is fine, since the test produces
> TCONF for these but also returns relative path instead of absolute one.
> 
> So this patch adds alternate version for the expected path and the test
> passes if at least one of them matches.
> 
> Fixes #151.
> 
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

No objections - I think we used same approach in file test.
I'd add also that note about POSIX not defining it to commit message.

Regards,
Jan


More information about the ltp mailing list