mirror of
https://github.com/containers/podman.git
synced 2025-09-10 06:22:21 +08:00
system tests: various
- images: confirm that 'podman images' emits headings even if there are no images present. Intended to replace e2e test which is difficult to get working under podman-remote. - build: add test for #8092, podman-build gobbling stdin. Workaround needed for issues #8342 and #8343, in which podman-remote output differs from podman local. - volumes: add test for #8307, double-lock on same volume. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -162,7 +162,8 @@ EOF
|
||||
myvol=myvol$(random_string)
|
||||
rand=$(random_string)
|
||||
|
||||
run_podman run --rm -v $myvol:/myvol:z $IMAGE \
|
||||
# Duplicate "-v" confirms #8307, fix for double-lock on same volume
|
||||
run_podman run --rm -v $myvol:/myvol:z -v $myvol:/myvol2:z $IMAGE \
|
||||
sh -c "echo $rand >/myvol/myfile"
|
||||
run_podman volume ls -q
|
||||
is "$output" "$myvol" "autocreated named container persists"
|
||||
|
Reference in New Issue
Block a user