mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
Redirect $TMPDIR when running containerd tests
These tests expect a $TMPDIR which supports user xattrs, which the tmpfs on /tmp does not. Redirect it to the persistent disk which does. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
b5c6c3ceeb
commit
f3ec48417c
@ -9,6 +9,10 @@ function failed {
|
||||
git describe HEAD
|
||||
git rev-parse HEAD
|
||||
|
||||
# The unit tests need user_xattr support, which /tmp (a tmpfs) does not support.
|
||||
mkdir -p /var/lib/tmp
|
||||
export TMPDIR=/var/lib/tmp
|
||||
|
||||
# unset -race (does not work on alpine; see golang/go#14481)
|
||||
export TESTFLAGS=
|
||||
make root-test || failed
|
||||
|
Loading…
Reference in New Issue
Block a user