From a55fdbb49c94038a8e9b88dd876b175e32292697 Mon Sep 17 00:00:00 2001 From: Urvashi Mohnani Date: Tue, 9 Nov 2021 10:01:51 -0500 Subject: 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 --- test/system/272-system-connection.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/system') 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)" -- cgit v1.2.3-54-g00ecf