summaryrefslogtreecommitdiff
path: root/test/compose/mount_and_label/tests.sh
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-03-21 18:23:31 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-04-01 17:27:03 +0200
commit676fcb722f31f3f8eedb017bee828002d23b68f8 (patch)
tree15a1f683b172d47074c5592f9c214d45b5905acc /test/compose/mount_and_label/tests.sh
parent954d92082534ac775761558b455408aca2246e36 (diff)
downloadpodman-676fcb722f31f3f8eedb017bee828002d23b68f8.tar.gz
podman-676fcb722f31f3f8eedb017bee828002d23b68f8.tar.bz2
podman-676fcb722f31f3f8eedb017bee828002d23b68f8.zip
Add new docker-compose test for two networks
Also fix the tests so we can use the podman function with the output. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'test/compose/mount_and_label/tests.sh')
-rw-r--r--test/compose/mount_and_label/tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/compose/mount_and_label/tests.sh b/test/compose/mount_and_label/tests.sh
index 07ff089b5..fa929bed6 100644
--- a/test/compose/mount_and_label/tests.sh
+++ b/test/compose/mount_and_label/tests.sh
@@ -1,4 +1,5 @@
# -*- bash -*-
test_port 5000 = "Podman rulez!"
-podman container inspect -l --format '{{.Config.Labels}}' | grep "the_best"
+podman container inspect -l --format '{{.Config.Labels}}'
+like "$output" "io.podman:the_best" "$testname : Container label is set"