OLD | NEW |
(Empty) | |
| 1 set -ex |
| 2 |
| 3 hosts_fixup() { |
| 4 echo "== /etc/hosts ==" |
| 5 cat /etc/hosts |
| 6 echo "----------------" |
| 7 sudo sed -i 's/^::1\s*localhost/::1/' /etc/hosts |
| 8 sudo sh -c 'echo " |
| 9 127.0.0.1 web-platform.test |
| 10 127.0.0.1 www.web-platform.test |
| 11 127.0.0.1 www1.web-platform.test |
| 12 127.0.0.1 www2.web-platform.test |
| 13 127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test |
| 14 127.0.0.1 xn--lve-6lad.web-platform.test |
| 15 " >> /etc/hosts' |
| 16 echo "== /etc/hosts ==" |
| 17 cat /etc/hosts |
| 18 echo "----------------" |
| 19 } |
| 20 |
| 21 |
| 22 test_stability() { |
| 23 python check_stability.py $PRODUCT |
| 24 } |
| 25 |
| 26 main() { |
| 27 hosts_fixup |
| 28 test_stability |
| 29 } |
| 30 |
| 31 main |
OLD | NEW |