[LTP] [PATCH v3] commands/which: Added new testcase to test which(1).
Cyril Hrubis
chrubis@suse.cz
Tue Jan 5 16:27:03 CET 2016
Hi!
Pushed with this change:
@@ -47,9 +47,6 @@ cleanup()
which_verify()
{
- local which_op=$1
-
- shift
until [ -z "$1" ]
do
grep -q "$1" temp
@@ -90,7 +87,7 @@ which_test()
if [ $# -gt 2 ]; then
shift 2
- which_verify "$which_op" "$@"
+ which_verify "$@"
if [ $? -ne 0 ]; then
tst_resm TFAIL "'${which_cmd}' failed, not expected."
return
Since the $which_op was unused in the fucntion.
Thanks.
--
Cyril Hrubis
chrubis@suse.cz
More information about the Ltp
mailing list