tests: get rid of which

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13259
This commit is contained in:
наб
2022-03-09 13:52:14 +01:00
committed by Brian Behlendorf
parent 62c5ccdf92
commit 592cf7f1e2
5 changed files with 6 additions and 11 deletions
@@ -22,9 +22,7 @@
. $STF_SUITE/tests/functional/pam/utilities.kshlib
if ! which pamtester; then
log_unsupported "pam tests require the pamtester utility to be installed"
fi
command -v pamtester > /dev/null || log_unsupported "pam tests require the pamtester utility to be installed"
DISK=${DISKS%% *}
create_pool $TESTPOOL "$DISK"