Alexander Afanasyev | c414ca5 | 2021-06-09 12:15:19 -0400 | [diff] [blame^] | 1 | # Manual test for nfdc batch mode |
| 2 | |
| 3 | To run the test from this folder |
| 4 | |
| 5 | nfdc -f nfdc-batch.t.txt |
| 6 | |
| 7 | nfdc --batch nfdc-batch.t.txt |
| 8 | |
| 9 | If everything works, it should execute 3 commands with example output like this |
| 10 | in both cases (can be different depending on the NFD runtime): |
| 11 | |
| 12 | face-exists id=263 local=udp4://192.168.100.240:6363 remote=udp4://192.0.2.1:6363 persistency=persistent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800 |
| 13 | route-add-accepted prefix=/ nexthop=264 origin=static cost=0 flags=child-inherit expires=never |
| 14 | route-add-accepted prefix=/test2/foo%20bar nexthop=265 origin=static cost=0 flags=child-inherit expires=never |
| 15 | CS information: |
| 16 | capacity=65536 |
| 17 | admit=on |
| 18 | serve=on |
| 19 | nEntries=14 |
| 20 | nHits=0 |
| 21 | nMisses=53 |