Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a1bab6e
)
Run 'ip' with sudo
29/14229/2
author
Carlos Goncalves
<carlos.goncalves@neclab.eu>
Tue, 17 May 2016 09:40:52 +0000
(11:40 +0200)
committer
Carlos Goncalves
<carlos.goncalves@neclab.eu>
Tue, 17 May 2016 13:27:37 +0000
(15:27 +0200)
Change-Id: I3de7749746dfd2eb0a67a428b7f0ae4503c14123
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
tests/run.sh
patch
|
blob
|
history
diff --git
a/tests/run.sh
b/tests/run.sh
index
fc9ec95
..
bbe093a
100755
(executable)
--- a/
tests/run.sh
+++ b/
tests/run.sh
@@
-151,7
+151,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