summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-10-01 05:23:16 -0600
committerEd Santiago <santiago@redhat.com>2021-10-01 05:36:12 -0600
commitfb2355adb3ce4de72d36830f608fb188c18d1981 (patch)
tree666b224338d87f4c7915ce938dd557b2f14b5921
parent1da364783dace3480ba1a142326aff2a644f19a8 (diff)
downloadpodman-fb2355adb3ce4de72d36830f608fb188c18d1981.tar.gz
podman-fb2355adb3ce4de72d36830f608fb188c18d1981.tar.bz2
podman-fb2355adb3ce4de72d36830f608fb188c18d1981.zip
Gating tests: fix permissions error
...in volume test. Looks like Bodhi gating tests run from a nonwritable directory. I feel really stupid for not realizing this when I first tried to fix this bug two weeks ago. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--test/system/160-volumes.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats
index b48198a18..c02525e0d 100644
--- a/test/system/160-volumes.bats
+++ b/test/system/160-volumes.bats
@@ -191,7 +191,7 @@ EOF
run_podman run --rm -v my_vol:/data $IMAGE sh -c "echo hello >> /data/test"
run_podman volume create my_vol2
- tarfile=hello$(random_string | tr A-Z a-z).tar
+ tarfile=${PODMAN_TMPDIR}/hello$(random_string | tr A-Z a-z).tar
run_podman volume export my_vol --output=$tarfile
# we want to use `run_podman volume export my_vol` but run_podman is wrapping EOF
run_podman volume import my_vol2 - < $tarfile