From 4b23bc7aa4bc6b1503f1ea442eb487d191b8c777 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Thu, 25 Mar 2021 10:46:56 -0600 Subject: 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 --- test/system/120-load.bats | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'test/system/120-load.bats') 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" \ -- cgit v1.2.3-54-g00ecf