summaryrefslogtreecommitdiff
path: root/test/system/120-load.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-11 21:21:33 +0200
committerGitHub <noreply@github.com>2019-06-11 21:21:33 +0200
commitc385f33cdf5e480b4c3f03227989cd56563d9cc0 (patch)
treeb9aebcba7b70902b88babbcc34ba6ee37849c701 /test/system/120-load.bats
parent130f6cba8c3cf78948c80930fa81f476cd32cc3b (diff)
parent9f49c1af46f9272c25db44c6e3e6ff9ec96aad4c (diff)
downloadpodman-c385f33cdf5e480b4c3f03227989cd56563d9cc0.tar.gz
podman-c385f33cdf5e480b4c3f03227989cd56563d9cc0.tar.bz2
podman-c385f33cdf5e480b4c3f03227989cd56563d9cc0.zip
Merge pull request #3290 from edsantiago/bats
BATS tests - get working again
Diffstat (limited to 'test/system/120-load.bats')
-rw-r--r--test/system/120-load.bats4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/system/120-load.bats b/test/system/120-load.bats
index dedfe6172..f2dedb73f 100644
--- a/test/system/120-load.bats
+++ b/test/system/120-load.bats
@@ -87,6 +87,10 @@ verify_iid_and_name() {
@test "podman load - will not read from tty" {
+ if [ ! -t 0 ]; then
+ skip "STDIN is not a tty"
+ fi
+
run_podman 125 load
is "$output" \
"Error: cannot read from terminal. Use command-line redirection" \