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