[LTP] [PATCH 2/3] binfmt_misc02.sh: Use "command -v" instead of "which"

Petr Vorel
2021-08-18T09:42:44Z

Hi,

...
> > - 6) verify_binfmt_misc ":tmagic:M:0:This::$(which cat):" \
> > + 6) verify_binfmt_misc ":tmagic:M:0:This::$(type cat):" \
> > "$TST_DATAROOT/file.magic" "0";;
> This does not match the description, you say you replace which with command,
> but actually you replaced it with type.
Good catch, thanks! Actually, this commit is wrong, it *must* use
"command -v".

Kind regards,
Petr