Files
podman/test/podman_version.bats
baude 1d7884b9a4 Fix test syntax
Remove the use of bash -c unless it involves a bash pipe. Also, use
run test_runner.sh inside script so that centos can be happy.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #239
Approved by: baude
2018-01-18 17:53:36 +00:00

14 lines
176 B
Bash

#!/usr/bin/env bats
load helpers
function teardown() {
cleanup_test
}
@test "podman version test" {
run ${PODMAN_BINARY} version
echo "$output"
[ "$status" -eq 0 ]
}