diff --git a/test/system/helpers.bash b/test/system/helpers.bash
index a6414344e5..6c24b24b3b 100644
--- a/test/system/helpers.bash
+++ b/test/system/helpers.bash
@@ -67,7 +67,7 @@ function basic_teardown() {
     run_podman '?' pod rm --all --force
     run_podman '?'     rm --all --force
 
-    /bin/rm -rf $PODMAN_TMPDIR
+    command rm -rf $PODMAN_TMPDIR
 }