Add beakerlib to Dockerfile.test

Also kill the lorax-composer process and remove /run/weldr/api.socket
so that when this is run with podman you don't get an error about
attempting to tar up the socket.

Related: rhbz#1613058
This commit is contained in:
Brian C. Lane 2018-10-02 16:23:42 -07:00
parent 920aed16e2
commit de3294280b

View File

@ -19,6 +19,10 @@ done;
./tests/cli/test_blueprints_sanity.sh
./tests/cli/test_compose_sanity.sh
# Stop lorax-composer and remove /run/weldr/api.socket
pkill -9 lorax-composer
rm -f /run/weldr/api.socket
# look for failures
grep RESULT_STRING /var/tmp/beakerlib-*/TestResults | grep -v PASS && exit 1