Descriptionssh/test: deflake session test.
The session test previously had a one second timeout for the output of
stty and this was leading to flakiness. This change removes the timeout
since go test has a generic timeout mechanism.
Additionally, the test was looking for "-echo" in the output to test
the value of the echo flag. However, there are also typically "echoe",
"echok" and "echonl" flags, and "-echo" could be a prefix of any of
time. Thus we now also match a trailing space.
Patch Set 1 #Patch Set 2 : diff -r 983a4287662a https://code.google.com/p/go.crypto/ #Patch Set 3 : diff -r 983a4287662a https://code.google.com/p/go.crypto/ #Patch Set 4 : diff -r 983a4287662a https://code.google.com/p/go.crypto/ #Patch Set 5 : diff -r 983a4287662a https://code.google.com/p/go.crypto/ #MessagesTotal messages: 4
|