From 1ba2e6fd4bbc612d304d453337e1aec3f4333170 Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Fri, 17 May 2019 15:54:16 +0200 Subject: [PATCH] tests: Extract images to /var/tmp, not /tmp Test VMs don't have enough memory (/tmp is a tmpfs). --- tests/cli/test_compose_tar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/test_compose_tar.sh b/tests/cli/test_compose_tar.sh index adb10fef..967655ee 100755 --- a/tests/cli/test_compose_tar.sh +++ b/tests/cli/test_compose_tar.sh @@ -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