Ignores the error when opening "/dev/tty".
Ignores the error when opening "/dev/tty".

There is no such device when tests are running. (This sould be expected.
The autotests are not executed from a terminal.) So we ignore the error
and won't try to read from "/dev/tty".

BUG=chromium:307378
TEST=run the test on link

Change-Id: Id1afba8bbca3b2f7922a0ff7876359e7b02c1287
Reviewed-on: https://chromium-review.googlesource.com/174865
Reviewed-by: Mike Frysinger <8f3f75c74bd5184edcfa6534cab3c13a00a2f794@chromium.org>
Reviewed-by: Owen Lin <0a54d949e4b0b01f23b9b06ccd3e0b748fb4eb25@chromium.org>
Commit-Queue: Owen Lin <0a54d949e4b0b01f23b9b06ccd3e0b748fb4eb25@chromium.org>
Tested-by: Owen Lin <0a54d949e4b0b01f23b9b06ccd3e0b748fb4eb25@chromium.org>

drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd