From 665129981020451c42df056063715ee1c68733d9 Mon Sep 17 00:00:00 2001 From: Chris Kyrouac Date: Tue, 5 Nov 2024 10:59:19 -0500 Subject: [PATCH] bootc: Make temp directory in test setup Ensures the /var/tmp/tmt directory exists before creating the temp directories. This directory might not exist in the CI environment. It usually exists when running locally. Signed-off-by: Chris Kyrouac --- tests/provision/bootc/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/provision/bootc/test.sh b/tests/provision/bootc/test.sh index 9ad8556446..c140962a67 100755 --- a/tests/provision/bootc/test.sh +++ b/tests/provision/bootc/test.sh @@ -19,6 +19,7 @@ rlJournalStart # use /var/tmp/tmt so the temp directories are accessible # in the podman machine mount + rlRun "mkdir -p /var/tmp/tmt" rlRun "tmp=\$(mktemp -d --tmpdir=/var/tmp/tmt)" 0 "Create tmp directory" rlRun "run=\$(mktemp -d --tmpdir=/var/tmp/tmt)" 0 "Create run directory" rlRun "pushd $tmp"