[tor-commits] [stem/master] Fix lzma unit test

atagar at torproject.org atagar at torproject.org
Sun Apr 1 04:40:01 UTC 2018


commit 9aa1f7eee610db1d0f55d529d5092691b09bb46e
Author: Damian Johnson <atagar at torproject.org>
Date:   Sat Mar 31 20:12:52 2018 -0700

    Fix lzma unit test
    
    Lzma test data was empty since it doesn't work for individual descriptors...
    
      https://trac.torproject.org/projects/tor/ticket/25667#comment:10
    
    I downloaded the lzma consensus and we can decompress it, but we can't include
    it as test data (too large). As such using the lzma library to compress a
    single descriptor for this test.
---
 test/unit/descriptor/data/compressed_lzma | Bin 0 -> 1652 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/test/unit/descriptor/data/compressed_lzma b/test/unit/descriptor/data/compressed_lzma
index e69de29b..e3297504 100644
Binary files a/test/unit/descriptor/data/compressed_lzma and b/test/unit/descriptor/data/compressed_lzma differ





More information about the tor-commits mailing list