diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-10 11:52:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-10 11:52:44 +0200 |
commit | d65cb664379117de527aeb253f1d4230998d2939 (patch) | |
tree | 8f066968a431a093547a3439d171d73bcae91b70 /test/system/001-basic.bats | |
parent | b6e2bc3cc99c5819891efe1c77d03686b8707269 (diff) | |
parent | 5c108cdab4888c53fbe7d4cb546544cc5a4929aa (diff) | |
download | podman-d65cb664379117de527aeb253f1d4230998d2939.tar.gz podman-d65cb664379117de527aeb253f1d4230998d2939.tar.bz2 podman-d65cb664379117de527aeb253f1d4230998d2939.zip |
Merge pull request #3758 from edsantiago/bats
implement 'make remotesystem'
Diffstat (limited to 'test/system/001-basic.bats')
-rw-r--r-- | test/system/001-basic.bats | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats index 85b9bc1ca..5fc07acfb 100644 --- a/test/system/001-basic.bats +++ b/test/system/001-basic.bats @@ -13,6 +13,14 @@ function setup() { @test "podman version emits reasonable output" { run_podman version + # First line of podman-remote is "Client:<blank>". + # 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 + fi + is "${lines[0]}" "Version:[ ]\+[1-9][0-9.]\+" "Version line 1" is "$output" ".*Go Version: \+" "'Go Version' in output" is "$output" ".*RemoteAPI Version: \+" "API version in output" |