diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh index 426583e0..00dcabca 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -176,7 +176,7 @@ inject_failure() { echo "disabling network of compute host [$COMPUTE_HOST] for 3 mins..." cat > disable_network.sh << 'END_TXT' #!/bin/bash -x -dev=$(ip route | awk '/^default/{print $5}') +dev=$(sudo ip route | awk '/^default/{print $5}') sleep 1 sudo ip link set $dev down sleep 180 |