summaryrefslogtreecommitdiff
path: root/test/system/120-load.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-03-25 10:46:56 -0600
committerEd Santiago <santiago@redhat.com>2021-03-25 10:48:55 -0600
commit4b23bc7aa4bc6b1503f1ea442eb487d191b8c777 (patch)
tree30b682fa6d7fcba765a5fb7d7073e1cffd3185d4 /test/system/120-load.bats
parent896ea085b1524750ce5ac4599dc3e2fd2972048c (diff)
downloadpodman-4b23bc7aa4bc6b1503f1ea442eb487d191b8c777.tar.gz
podman-4b23bc7aa4bc6b1503f1ea442eb487d191b8c777.tar.bz2
podman-4b23bc7aa4bc6b1503f1ea442eb487d191b8c777.zip
system tests: new interactive tests
socat can create a dummy PTY that we can manipulate. This lets us run a variety of tests that we couldn't before, involving "run -it", and stty, and even "load" with no args. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/120-load.bats')
-rw-r--r--test/system/120-load.bats11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/system/120-load.bats b/test/system/120-load.bats
index d29be462d..67687a5b0 100644
--- a/test/system/120-load.bats
+++ b/test/system/120-load.bats
@@ -126,17 +126,6 @@ verify_iid_and_name() {
verify_iid_and_name $img_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" \
- "Diagnostic from 'podman load' without redirection or -i"
-}
-
@test "podman load - redirect corrupt payload" {
run_podman 125 load <<< "Danger, Will Robinson!! This is a corrupt tarball!"
is "$output" \