summaryrefslogtreecommitdiff
path: root/test/system/001-basic.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-06 13:09:23 +0000
committerGitHub <noreply@github.com>2021-12-06 13:09:23 +0000
commit188f1989faa7de371558cb5466132edcfe62eda3 (patch)
tree7d19bf165a8591d601c4461daae7e68618aebff5 /test/system/001-basic.bats
parent18e31935ab068567178d50e0317ab2f3ea54926e (diff)
parent7d22cc88ef382033c59d09570d1525189e104eae (diff)
downloadpodman-188f1989faa7de371558cb5466132edcfe62eda3.tar.gz
podman-188f1989faa7de371558cb5466132edcfe62eda3.tar.bz2
podman-188f1989faa7de371558cb5466132edcfe62eda3.zip
Merge pull request #12487 from jwhonce/issues/10974-2
Refactor podman system to report.Formatter
Diffstat (limited to 'test/system/001-basic.bats')
-rw-r--r--test/system/001-basic.bats8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats
index 03f07d602..23489c1b5 100644
--- a/test/system/001-basic.bats
+++ b/test/system/001-basic.bats
@@ -15,12 +15,10 @@ function setup() {
@test "podman version emits reasonable output" {
run_podman version
- # First line of podman-remote is "Client:<blank>".
+ # First line of podman version is "Client: *Podman Engine".
# Just delete it (i.e. remove the first entry from the 'lines' array)
- if is_remote; then
- if expr "${lines[0]}" : "Client:" >/dev/null; then
- lines=("${lines[@]:1}")
- fi
+ if expr "${lines[0]}" : "Client: *" >/dev/null; then
+ lines=("${lines[@]:1}")
fi
is "${lines[0]}" "Version:[ ]\+[1-9][0-9.]\+" "Version line 1"