diff options
author | Etienne Perot <eperot@google.com> | 2021-01-08 14:49:23 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-08 14:51:50 -0800 |
commit | 11787a601e2aba4d022aadd468f729963b9a09e6 (patch) | |
tree | c9029299ee056c12505a9bfae592454d4aa3618e /pkg/buffer/safemem.go | |
parent | 5c13c2152ecc313353b745bdfb82ee601e38a867 (diff) |
Create console test library.
This creates a TTY pair and runs `/bin/sh` in interactive mode within it.
It provides useful helper functions to interact with the shell and read the
output of commands run within it.
This is meant to be used for testing upcoming changes allowing `runsc exec` to
work in `-detach=false -tty=true` mode.
PiperOrigin-RevId: 350841006
Diffstat (limited to 'pkg/buffer/safemem.go')
0 files changed, 0 insertions, 0 deletions