]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blobdiff - zfec/test/test_zfec.py
filefec: Bug fix for the files with certain lengths (see the longer explanation)
[tahoe-lafs/zfec.git] / zfec / test / test_zfec.py
index 46bbb1cb6bbdeaf8c12a2982a5c326ceafcf02f4..f2b29d4368990b1aaf8ea90e1c7f25c455fb7209 100755 (executable)
@@ -321,6 +321,8 @@ class FileFec(unittest.TestCase):
     def test_filefec_min_shares_with_crcrlflf(self, noisy=VERBOSE):
         return self._help_test_filefec("Yellow Whirled!A\r\r\n\n", 3, 8, numshs=3)
 
+    def test_filefec_mul_chunk_size(self):
+        return self._help_test_filefec(randstr(6176761), 13, 16)
 
 class Cmdline(unittest.TestCase):
     def test_basic(self, noisy=VERBOSE):