Gitiles
Code Review
Sign In
gerrit.named-data.net
/
NFD
/
integration-tests
/
9b705201b38d12d460810ef1ce32ee7bd4b72b31
/
.
/
test_localhost_scope
/
out-B.sh
blob: 31f9d3e5954a838ea05d40eacc0916dde8e3f612 [
file
] [
log
] [
blame
]
#!/bin/bash
FACEURI
=
$1
nfdc face create $FACEURI
||
exit
1
if
!
output
=
$
(
nfdc route add ndn
:/
$FACEURI
)
then
return
2
fi
output
=
$
(
nfdc route add ndn
:/
localhost
/
test
-
out $FACEURI
2
>&
1
)
return
0