aboutsummaryrefslogtreecommitdiff
path: root/src/test/include.am
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2015-01-10 17:14:29 +1100
committerteor <teor2345@gmail.com>2015-01-10 17:14:29 +1100
commitdebd7862bb6d641c13fe4ee019da633c683d740e (patch)
tree0d34554d8f733ae5729d1d19984b12f876753fec /src/test/include.am
parentc200ab46b85cece87a4bcdbaacd41bc6539d1671 (diff)
downloadtor-debd7862bb6d641c13fe4ee019da633c683d740e.tar.gz
tor-debd7862bb6d641c13fe4ee019da633c683d740e.zip
Test that tor correctly handles zero-length keys
Check that tor generates new keys, and overwrites the empty key files. Test that tor generates new keys when keys are missing (existing behaviour). Test that tor does not overwrite key files that already contain data (existing behaviour). Tests fixes to bug 13111.
Diffstat (limited to 'src/test/include.am')
-rw-r--r--src/test/include.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/include.am b/src/test/include.am
index d7a647940b..4518f8fb8f 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -120,9 +120,11 @@ if USEPYTHON
./src/test/test-bt-cl assert | $(PYTHON) $(top_srcdir)/src/test/bt_test.py
./src/test/test-bt-cl crash | $(PYTHON) $(top_srcdir)/src/test/bt_test.py
endif
+ ./src/test/zero_length_keys.sh
EXTRA_DIST += \
src/test/bt_test.py \
src/test/ntor_ref.py \
src/test/slownacl_curve25519.py \
- src/test/test_cmdline_args.py
+ src/test/test_cmdline_args.py \
+ src/test/zero_length_keys.sh