Package expect implements a small expect-style interface
NewExpect creates a new process for expect testing.
NewExpectWithEnv creates a new process with user defined env variables for expect testing.
Close waits for the expect process to exit.
Expect returns the first line containing the given string.
ExpectFunc returns the first line satisfying the function f.
LineCount returns the number of recorded lines since the beginning of the process.
Signal sends a signal to the expect process
Stop kills the expect process and waits for it to exit.