remove use of deprecated nfdc syntax and update output processing
change all calls to nfd-status to nfdc
(except test_nfdc)
refs #4058
Change-Id: I4205602d180f5cb5c64e9883e79d5deb518533ad
diff --git a/test_permanent_face/permanent-face-test.sh b/test_permanent_face/permanent-face-test.sh
index 9315ee4..ed96e3b 100755
--- a/test_permanent_face/permanent-face-test.sh
+++ b/test_permanent_face/permanent-face-test.sh
@@ -19,10 +19,10 @@
ssh $CTRL_B "ndnpingserver /B >> $testLogB 2>&1 &"
# on A, create a UDP permanent face toward B
-nfdc create -P udp://$IP4_B1 >> $testLogA
+nfdc face create udp://$IP4_B1 persistency permanent >> $testLogA
-# on A, register prefix ndn:/B on the face created in step 3
-nfdc register ndn:/B udp4://$IP4_B1:6363 >> $testLogA
+# on A, add route to ndn:/B on the face created in step 3
+nfdc route add ndn:/B udp4://$IP4_B1:6363 >> $testLogA
# on A, execute ndnping for prefix ndn:/B with client specifier "a" for 10 probes
pingOutput=$(ndnping ndn:/B -p a -c 10)