diff options
-rw-r--r-- | pkg/bindings/containers/attach.go | 2 | ||||
-rw-r--r-- | test/system/450-interactive.bats | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/pkg/bindings/containers/attach.go b/pkg/bindings/containers/attach.go index f48b99a95..ecae22a1b 100644 --- a/pkg/bindings/containers/attach.go +++ b/pkg/bindings/containers/attach.go @@ -336,7 +336,7 @@ func attachHandleResize(ctx, winCtx context.Context, winChange chan os.Signal, i case <-winCtx.Done(): return case <-winChange: - h, w, err := terminal.GetSize(int(file.Fd())) + w, h, err := terminal.GetSize(int(file.Fd())) if err != nil { logrus.Warnf("failed to obtain TTY size: %v", err) } diff --git a/test/system/450-interactive.bats b/test/system/450-interactive.bats index 33841bc16..d047b9f25 100644 --- a/test/system/450-interactive.bats +++ b/test/system/450-interactive.bats @@ -49,8 +49,6 @@ function teardown() { # BEGIN tests @test "podman detects correct tty size" { - skip_if_remote "FIXME: resolved in #9782" - # Set the pty to a random size. Make rows/columns odd/even, to guarantee # that they can never be the same rows=$(( 15 + RANDOM % 60 | 1 )) |