mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-03 07:33:48 +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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user