diff options
author | Ed Santiago <santiago@redhat.com> | 2021-10-01 05:23:16 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-10-04 09:30:41 -0600 |
commit | deb7517cc2e9c8875afcb3f984a1d57bacaf86c5 (patch) | |
tree | 9589fb825ff42e442664419ff826d95df178449c /test | |
parent | 1dfba5da85449eb99e11b37b9bfbe11d0b2b2f62 (diff) | |
download | podman-deb7517cc2e9c8875afcb3f984a1d57bacaf86c5.tar.gz podman-deb7517cc2e9c8875afcb3f984a1d57bacaf86c5.tar.bz2 podman-deb7517cc2e9c8875afcb3f984a1d57bacaf86c5.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>
Diffstat (limited to 'test')
-rw-r--r-- | test/system/160-volumes.bats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats index e21be9ea4..fca97e6df 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 |