mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +00:00
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:
parent
6cc3e88742
commit
91ce39e2a6
@ -129,8 +129,11 @@ sudo adduser $USER kvm
|
|||||||
newgrp kvm << EOF
|
newgrp kvm << EOF
|
||||||
cargo test --features "integration_tests"
|
cargo test --features "integration_tests"
|
||||||
EOF
|
EOF
|
||||||
|
RES=$?
|
||||||
|
|
||||||
# Tear VFIO test network down
|
# Tear VFIO test network down
|
||||||
sudo ip link del vfio-br0
|
sudo ip link del vfio-br0
|
||||||
sudo ip link del vfio-tap0
|
sudo ip link del vfio-tap0
|
||||||
sudo ip link del vfio-tap1
|
sudo ip link del vfio-tap1
|
||||||
|
|
||||||
|
exit $RES
|
||||||
|
Loading…
Reference in New Issue
Block a user