tests: Solved multiple errors caused by configuration changes
refs #2360
Change-Id: I447724f18669782d00a1faac8589b58d923785dc
diff --git a/test_interest_loop/interest-loop-test.sh b/test_interest_loop/interest-loop-test.sh
index f917a06..7d0a81f 100755
--- a/test_interest_loop/interest-loop-test.sh
+++ b/test_interest_loop/interest-loop-test.sh
@@ -17,6 +17,10 @@
r=$(ssh $b_ipaddr "sudo killall nfd 2>&1" 2>&1)
r=$(ssh $c_ipaddr "sudo killall nfd 2>&1" 2>&1)
}
+# generate nfd.conf: disable multicast faces
+cp /usr/local/etc/ndn/nfd.conf $workdir/nfd.conf
+ssh $CTRL_B "sed 's/mcast yes/mcast no/' /usr/local/etc/ndn/nfd.conf > $workdir/nfd.conf"
+ssh $CTRL_C "sed 's/mcast yes/mcast no/' /usr/local/etc/ndn/nfd.conf > $workdir/nfd.conf"
# get keys
echo "getting keys..."
diff --git a/test_interest_loop/nfd.conf b/test_interest_loop/nfd.conf
deleted file mode 100644
index 7c16261..0000000
--- a/test_interest_loop/nfd.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-log
-{
-}
-
-face_system
-{
- unix
- {
- listen yes
- path /var/run/nfd.sock
- }
-
- tcp
- {
- listen yes
- port 6363
- }
-
- udp
- {
- port 6363
- idle_timeout 600
- keep_alive_interval 25
-
- mcast no ; Turn off UDP multicast.
- }
-
- ether
- {
- mcast no ; Turn off Ethernet multicast.
- }
-}
-
-authorizations
-{
- authorize
- {
- certfile keys/default.ndncert
- privileges
- {
- faces
- fib
- strategy-choice
- }
- }
-}