net: add unit tests for read/write deadlines The tests verify that deadlines are "persistent", read/write deadlines do not interfere, can be reset, read deadline can be set with both SetDeadline() and SetReadDeadline(), etc.
net: add unit tests for read/write deadlines
The tests verify that deadlines are "persistent",
read/write deadlines do not interfere, can be reset,
read deadline can be set with both SetDeadline()
and SetReadDeadline(), etc.

R=golang-dev, bradfitz, dave
CC=golang-dev
http://codereview.appspot.com/6850070
abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go