diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-09 14:40:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 14:40:13 -0500 |
commit | cd8a061214347c8a148f1ce682bec66a31a4bc6a (patch) | |
tree | d62279b6ec04b7bc736e330e941020b1c0a983ff /test/apiv2/23-containersArchive.at | |
parent | a8c7aedc74cf2f6d479d6dcdf87d526c4344bdd4 (diff) | |
parent | ea704da726177a75c5635b3fbaf2d86cec759ee7 (diff) | |
download | podman-cd8a061214347c8a148f1ce682bec66a31a4bc6a.tar.gz podman-cd8a061214347c8a148f1ce682bec66a31a4bc6a.tar.bz2 podman-cd8a061214347c8a148f1ce682bec66a31a4bc6a.zip |
Merge pull request #9289 from edsantiago/apiv2_test_fixes
apiv2 test fixes
Diffstat (limited to 'test/apiv2/23-containersArchive.at')
-rw-r--r-- | test/apiv2/23-containersArchive.at | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/apiv2/23-containersArchive.at b/test/apiv2/23-containersArchive.at index 459800196..688ca9f06 100644 --- a/test/apiv2/23-containersArchive.at +++ b/test/apiv2/23-containersArchive.at @@ -13,13 +13,10 @@ podman rm -a -f &>/dev/null CTR="ArchiveTestingCtr" -TMPD=$(mktemp -d) -pushd "${TMPD}" -echo "Hello" > "hello.txt" -tar --format=posix -cvf "hello.tar" "hello.txt" &> /dev/null -popd - +TMPD=$(mktemp -d podman-apiv2-test.archive.XXXXXXXX) HELLO_TAR="${TMPD}/hello.tar" +echo "Hello" > $TMPD/hello.txt +tar --format=posix -C $TMPD -cvf ${HELLO_TAR} hello.txt &> /dev/null podman run -d --name "${CTR}" "${IMAGE}" top |