diff --git a/tests/p_which/which_basic.sh b/tests/p_which/which_basic.sh index 5328f33..89ccd59 100755 --- a/tests/p_which/which_basic.sh +++ b/tests/p_which/which_basic.sh @@ -2,5 +2,5 @@ # Author: Alice Kaerast t_Log "Running $0 - Checking which can find itself" -/usr/bin/which which | grep -q "/usr/bin/which" +/usr/bin/which which | grep -e -q '^(/usr)?/bin/which$' t_CheckExitStatus $?