run_tests: Make sure a chroot exists before starting tests.

If run_tests was run (without --network) and no chroot existed, it
would hang while trying to download files needed to create the chroot.

So... make sure the chroot exists before disabling networking.

BUG=chromium:482108
TEST=Ran tests with/without existing chroot.

Change-Id: Ib735230ad799286057503e296ca634208f387909
Reviewed-on: https://chromium-review.googlesource.com/267738
Trybot-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
1 file changed