blob: d975be02a09fbd1550c51b640bbec4aee6e6d0da [file] [log] [blame]
diff --git a/tests/integration/helpers.bash b/tests/integration/helpers.bash
index 23e32e978c20..fd3e4375892d 100644
--- a/tests/integration/helpers.bash
+++ b/tests/integration/helpers.bash
@@ -2,6 +2,9 @@
bats_require_minimum_version 1.5.0
+BATS_TMPDIR=/usr/local/tests/workdir/runc
+export BATS_RUN_TMPDIR="${BATS_TMPDIR}/bats-run-${BATS_ROOT_PID}"
+
# Root directory of integration tests.
INTEGRATION_ROOT=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")