summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorUrvashi Mohnani <umohnani@redhat.com>2021-11-09 10:01:51 -0500
committerUrvashi Mohnani <umohnani@redhat.com>2021-11-10 14:48:08 -0500
commita55fdbb49c94038a8e9b88dd876b175e32292697 (patch)
tree96da6bffe083aa8c22e9d549c36b08b3bebb7f12 /test/system
parent4bf0146c2978960b8c4dc5a9844c4948effbcfd2 (diff)
downloadpodman-a55fdbb49c94038a8e9b88dd876b175e32292697.tar.gz
podman-a55fdbb49c94038a8e9b88dd876b175e32292697.tar.bz2
podman-a55fdbb49c94038a8e9b88dd876b175e32292697.zip
Print headers for system connection ls
Print out the headers even if the system connection list is empty to match the behavior of other list commands. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/272-system-connection.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/272-system-connection.bats b/test/system/272-system-connection.bats
index 14c4f6664..4e9ac4dd6 100644
--- a/test/system/272-system-connection.bats
+++ b/test/system/272-system-connection.bats
@@ -50,7 +50,8 @@ function _run_podman_remote() {
# Very basic test, does not actually connect at any time
@test "podman system connection - basic add / ls / remove" {
run_podman system connection ls
- is "$output" "" "system connection ls: no connections"
+ is "$output" "Name URI Identity Default" \
+ "system connection ls: no connections"
c1="c1_$(random_string 15)"
c2="c2_$(random_string 15)"