diff options
author | Carlos Goncalves <carlos.goncalves@neclab.eu> | 2016-05-17 11:40:52 +0200 |
---|---|---|
committer | Carlos Goncalves <carlos.goncalves@neclab.eu> | 2016-05-19 11:18:53 +0000 |
commit | f1b339bad208a8611ab22d57125c9a8c57378864 (patch) | |
tree | cce60674941cca80b301c3b3764687a90158c8bb | |
parent | 1c4dda16a83977be189d2f874125a844e674b26a (diff) |
Run 'ip' with sudostable/brahmaputra
Change-Id: I3de7749746dfd2eb0a67a428b7f0ae4503c14123
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
(cherry picked from commit 8e583dc3a3fc0392a5197803a598ab5734310d66)
-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 a970a7a5..2c0a76ce 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -135,7 +135,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 |