diff --git a/tests/integration/_common.sh b/tests/integration/_common.sh index be4e75098..8656b8518 100755 --- a/tests/integration/_common.sh +++ b/tests/integration/_common.sh @@ -2,7 +2,9 @@ if [ "xxx$root" = "xxx" ]; then - root="$(mktemp -d)" + # The -t is required on OS X. It provides a template file path for + # the kernel to use. + root="$(mktemp -d -t leitXXXX)" echo "Root integration tests directory: $root" fi store_flags="--config-dir $root/conf --work-dir $root/work"