[autotest] Implement gethostbyname by shelling out to ping and parsing output

Sigh.  Perhaps this will work more reliably than direct socket calls,
which hang sometimes :-/

BUG=chromium-os:13384
TEST=suite_Smoke

Change-Id: I9c1e9aa49c997667886d14198910ef3bedda9ceb
Reviewed-on: http://gerrit.chromium.org/gerrit/1931
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
1 file changed