Blame tests/0_common/30_dns_works.sh
|
Karanbir Singh |
2dd0be |
#!/bin/bash
|
|
Karanbir Singh |
43deec |
|
|
Karanbir Singh |
2dd0be |
t_Log "Running $0 - testing to see if DNS works"
|
|
Karanbir Singh |
43deec |
|
|
Karanbir Singh |
43deec |
# its important we dont hit a dns record with a wildcard like centos.org
|
|
|
ab76b0 |
/bin/ping -c 1 repo.centos.qa &>/dev/null
|
|
Karanbir Singh |
43deec |
|
|
Karanbir Singh |
2dd0be |
t_CheckExitStatus $?
|
|
Karanbir Singh |
43deec |
|
|
Karanbir Singh |
43deec |
# implied results:
|
|
Karanbir Singh |
43deec |
# - network works
|
|
Karanbir Singh |
43deec |
# - default route is really routeable
|
|
Karanbir Singh |
43deec |
# - atleast one network link on the machine is working
|
|
|
ab76b0 |
# - kernel' ip stack is functional
|