add comment

This commit is contained in:
Andrey Mirtchovski 2018-03-05 13:04:08 -07:00
parent e643d95df8
commit 7efdf616a2
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ func TestTerminalSignal(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
cmd := exec.CommandContext(ctx, bash, "--norc", "--noprofile", "-i")
// Clear HISTFILE so that we don't read or clobber the user's bash history.
cmd.Env = append(os.Environ(), "HISTFILE=")
cmd.Stdin = slave
cmd.Stdout = slave