diff --git a/tests/nova-hypervisor_cleanup.sh b/tests/nova-hypervisor_cleanup.sh index f646fbb..50018d7 100755 --- a/tests/nova-hypervisor_cleanup.sh +++ b/tests/nova-hypervisor_cleanup.sh @@ -9,9 +9,9 @@ snap aliases nova-hypervisor | grep neutron-ovs-cleanup || \ snap aliases nova-hypervisor | grep neutron-netns-cleanup || \ sudo snap alias nova-hypervisor.neutron-netns-cleanup neutron-netns-cleanup -if [ hash neutron-ovs-cleanup ]; then +if hash neutron-ovs-cleanup; then sudo neutron-ovs-cleanup fi -if [ hash neutron-netns-cleanup ]; then +if hash neutron-netns-cleanup; then sudo neutron-netns-cleanup fi