diff --git a/pkg/bindings/test/common_test.go b/pkg/bindings/test/common_test.go
index e3e66c89fa..15783041f9 100644
--- a/pkg/bindings/test/common_test.go
+++ b/pkg/bindings/test/common_test.go
@@ -62,6 +62,12 @@ func (b *bindingTest) runPodman(command []string) *gexec.Session {
 	} else {
 		cmd = append(cmd, "--runroot", b.runRoot)
 	}
+	val, ok = os.LookupEnv("TEMPDIR")
+	if ok {
+		cmd = append(cmd, "--tmpdir", val)
+	} else {
+		cmd = append(cmd, "--tmpdir", b.tempDirPath)
+	}
 	val, ok = os.LookupEnv("STORAGE_DRIVER")
 	if ok {
 		cmd = append(cmd, "--storage-driver", val)