summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-10-06 21:50:27 +0200
committerJakob Unterwurzacher2019-10-06 21:53:20 +0200
commit8c4429408716d9890a98a48c246d616dbfea7e31 (patch)
tree9a034353cd2fecb65232ea158b3d909d7db928c7 /test.bash
parent00af4f48643f0533b6cfbd14fdf5186c844f8f5d (diff)
tests: use /var/tmp by default
On Fedora, /tmp is tmpfs, which behaves differently than ext4 (inode numbers are never reused, for example). Use /var/tmp, which is ext4 on Fedora, to get a more realistic test environment. This also allows us to drop the xattr workaround.
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index 8cbbfb0..8cc40bc 100755
--- a/test.bash
+++ b/test.bash
@@ -1,7 +1,7 @@
#!/bin/bash
if [[ -z $TMPDIR ]]; then
- TMPDIR=/tmp
+ TMPDIR=/var/tmp
else
echo "Using TMPDIR=$TMPDIR"
fi