summaryrefslogtreecommitdiff
path: root/src/feature/relay/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-03 13:22:23 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-03 13:22:23 -0500
commit92af8e511394685f7a39224ec1f73ce79fcf2c42 (patch)
treed593804f2f558a9d01c8c6e687b6c0a7162b4b10 /src/feature/relay/router.c
parent417a324a8577b0c61185c9d06eb72fbc483d984b (diff)
downloadtor-92af8e511394685f7a39224ec1f73ce79fcf2c42.tar.gz
tor-92af8e511394685f7a39224ec1f73ce79fcf2c42.zip
Add a framework for testing set_routerstatus_from_routerinfo().
Additionally, use it to test that is_staledesc is set correctly. Eventually we'll want to test all the other flags, but I'm aiming for only adding coverage on the changed code here.
Diffstat (limited to 'src/feature/relay/router.c')
0 files changed, 0 insertions, 0 deletions