summaryrefslogtreecommitdiff
path: root/test/system/030-run.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/030-run.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/030-run.bats')
-rw-r--r--test/system/030-run.bats11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats
index 39ade22af..b2999a9e7 100644
--- a/test/system/030-run.bats
+++ b/test/system/030-run.bats
@@ -668,15 +668,4 @@ json-file | f
is "$output" ".*HOME=/.*"
}
-@test "podman run --tty -i failure with no tty" {
- run_podman run --tty -i --rm $IMAGE echo hello < /dev/null
- is "$output" ".*The input device is not a TTY.*"
-
- run_podman run --tty=false -i --rm $IMAGE echo hello < /dev/null
- is "$output" "hello"
-
- run_podman run --tty -i=false --rm $IMAGE echo hello < /dev/null
- is "$output" "hello"
-}
-
# vim: filetype=sh