Fix install_all issue and failing test cases that fail after NRD becomes part of NFD.
Change-Id: Ic254244be99e289f43af86ecf6c82aad8460c538
Refs: #1641
diff --git a/test_interest_loop/interest-loop-test.sh b/test_interest_loop/interest-loop-test.sh
index 0cc616e..f917a06 100755
--- a/test_interest_loop/interest-loop-test.sh
+++ b/test_interest_loop/interest-loop-test.sh
@@ -27,10 +27,18 @@
# start NFD on three nodes and set nexthop to create loop
echo "start NFD on three nodes and set nexthop to create loop..."
ssh $CTRL_B "mkdir -p $workdir/logs;\
- sudo nfd --config $workdir/nfd.conf > $workdir/logs/nfd.log 2>&1 &"
+ sudo nfd --config $workdir/nfd.conf &> $workdir/logs/nfd.log &\
+ sleep 2;\
+ nrd --config $workdir/nfd.conf &> $workdir/logs/nrd.log &\
+ sleep 2"
ssh $CTRL_C "mkdir -p $workdir/logs;\
- sudo nfd --config $workdir/nfd.conf > $workdir/logs/nfd.log 2>&1 &"
-sudo nfd --config $workdir/nfd.conf > $workdir/logs/nfd.log 2>&1 &
+ sudo nfd --config $workdir/nfd.conf &> $workdir/logs/nfd.log &\
+ sleep 2;\
+ nrd --config $workdir/nfd.conf &> $workdir/logs/nrd.log &\
+ sleep 2"
+sudo nfd --config $workdir/nfd.conf &> $workdir/logs/nfd.log &
+sleep 2
+nrd --config $workdir/nfd.conf &> $workdir/logs/nrd.log &
sleep 5
ssh $CTRL_B "$workdir/add-nexthop.sh $c_ipaddr $strategy"
ssh $CTRL_C "$workdir/add-nexthop.sh $a_ipaddr $strategy"