summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-24 12:50:59 -0400
committerGitHub <noreply@github.com>2022-05-24 12:50:59 -0400
commit2dc4f752c67e8e8c1035d6e2d689779cdc00004b (patch)
tree69557b4f1002fb85a3cb3c32401adeb7a4484c5b /test/system
parent7391bdfbbc418adbc85f6643cb67cdbd87fd0b7b (diff)
parent2400d1d52ff4199778781446445eef39a6e2c6b9 (diff)
downloadpodman-2dc4f752c67e8e8c1035d6e2d689779cdc00004b.tar.gz
podman-2dc4f752c67e8e8c1035d6e2d689779cdc00004b.tar.bz2
podman-2dc4f752c67e8e8c1035d6e2d689779cdc00004b.zip
Merge pull request #14341 from vrothberg/todo-part-1
TODO's and FIXME's [PART 1]
Diffstat (limited to 'test/system')
-rw-r--r--test/system/060-mount.bats8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/system/060-mount.bats b/test/system/060-mount.bats
index 7addbd88e..2735d2afd 100644
--- a/test/system/060-mount.bats
+++ b/test/system/060-mount.bats
@@ -50,6 +50,10 @@ load helpers
run_podman image mount $IMAGE
mount_path="$output"
+ # Make sure that `mount -a` prints a table
+ run_podman image mount -a
+ is "$output" "$IMAGE .*$mount_path"
+
test -d $mount_path
# Image is custom-built and has a file containing the YMD tag. Check it.
@@ -62,8 +66,8 @@ load helpers
run_podman image mount
is "$output" "$IMAGE *$mount_path" "podman image mount with no args"
- # Clean up
- run_podman image umount $IMAGE
+ # Clean up: -f since we mounted it twice
+ run_podman image umount -f $IMAGE
is "$output" "$iid" "podman image umount: image ID of what was umounted"
run_podman image umount $IMAGE