From 1c17e9302905b1f6b3d3c9f40bd520f2470cee62 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 28 Jun 2017 14:59:23 -0700 Subject: [PATCH] tap-test: create tmpdir in /var/tmp So that we can use xattrs. Closes: #854 Approved by: cgwalters --- buildutil/tap-test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildutil/tap-test b/buildutil/tap-test index 4e2a689a..b9a6cd38 100755 --- a/buildutil/tap-test +++ b/buildutil/tap-test @@ -2,10 +2,11 @@ set -euo pipefail # run a GTest in tap mode. The test binary is passed as $1 +# use /var/tmp so we can use xattrs in case /tmp is on tmpfs srcd=$(cd $(dirname $1) && pwd) bn=$(basename $1) -test_tmpdir=$(mktemp -d) +test_tmpdir=$(mktemp -d /var/tmp/tap-test.XXXXXX) function cleanup () { if test -z "${TEST_SKIP_CLEANUP:-}"; then if test -f ${test_tmpdir}/.test; then