tests: Ensure that the test pipeline fails

With the addition of commands after running the integration tests the
exit code of the tests were lost.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-08-07 09:36:37 +01:00 committed by Sebastien Boeuf
parent 6cc3e88742
commit 91ce39e2a6

View File

@ -129,8 +129,11 @@ sudo adduser $USER kvm
newgrp kvm << EOF
cargo test --features "integration_tests"
EOF
RES=$?
# Tear VFIO test network down
sudo ip link del vfio-br0
sudo ip link del vfio-tap0
sudo ip link del vfio-tap1
exit $RES