#!/bin/sh

set -e

# Ubuntu uses http proxy breaking some tests
unset http_proxy
unset https_proxy

cat >>/etc/hosts <<EOF

192.168.1.1 rh7-1 rh7-1.localhost
192.168.1.2 rh7-2 rh7-2.localhost
192.168.1.3 rh7-3 rh7-3.localhost
EOF

python3 /usr/lib/python3/dist-packages/pcs/test/suite.py 2>&1
