tests: Extract images to /var/tmp, not /tmp

Test VMs don't have enough memory (/tmp is a tmpfs).
This commit is contained in:
Lars Karlitski 2019-05-17 15:54:16 +02:00 committed by Martin Pitt
parent 250f49f78d
commit 1ba2e6fd4b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ rlJournalStart
rlPhaseStartTest "Verify tar image with systemd-nspawn"
if [ -f /usr/bin/systemd-nspawn ]; then
NSPAWN_DIR=`mktemp -d /tmp/nspawn.XXXX`
NSPAWN_DIR=`mktemp -d /var/tmp/nspawn.XXXX`
rlRun -t -c "tar -xJvf $IMAGE -C $NSPAWN_DIR"
# verify we can run a container with this image