test: Unit test for the hs indexes
commit75ec72f24d039298b3f29d496181c7a99c1c712e
authorDavid Goulet <dgoulet@torproject.org>
Tue, 29 Aug 2017 16:12:52 +0000 (29 12:12 -0400)
committerGeorge Kadianakis <desnacked@riseup.net>
Fri, 15 Sep 2017 09:46:26 +0000 (15 12:46 +0300)
tree71bcc05e1f3cb858959214c6f4b1aa2df0f216bc
parent715a8ea81c007c06749032ef39fbee235fcbbcff
test: Unit test for the hs indexes

Using a test vector in python, test both hs_build_hsdir_index() and
hs_build_hs_index().

This commit also adds the hs_build_address.py to EXTRA_DIST which was missing.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/test/hs_indexes.py [new file with mode: 0644]
src/test/include.am
src/test/test_hs_common.c