]> Cypherpunks.ru repositories - gostls13.git/commit
internal/testpty: move from os/signal/internal/pty
authorAustin Clements <austin@google.com>
Thu, 10 Nov 2022 21:02:48 +0000 (16:02 -0500)
committerAustin Clements <austin@google.com>
Wed, 16 Nov 2022 19:00:19 +0000 (19:00 +0000)
commit334d8e453b5d45ede5265debc51b4775195d9ce9
tree5618db8d56d563e9c52f62b28ece838684116fcb
parent80d8c77a43f2445a78bd5b5c3b113c95e49766a9
internal/testpty: move from os/signal/internal/pty

We're going to use this for another test, so make it more accessible.

Preparation for #37486.

Change-Id: If194cc4244c4b9e1b1f253759b813555b39ad67e
Reviewed-on: https://go-review.googlesource.com/c/go/+/449502
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/go/build/deps_test.go
src/internal/testpty/pty.go [moved from src/os/signal/internal/pty/pty.go with 86% similarity]
src/internal/testpty/pty_cgo.go [moved from src/os/signal/internal/pty/pty_cgo.go with 98% similarity]
src/internal/testpty/pty_darwin.go [moved from src/os/signal/internal/pty/pty_darwin.go with 97% similarity]
src/os/signal/signal_cgo_test.go