aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-06-18 19:19:02 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-06-18 19:19:02 +0300
commit6368a2fa5901c75864be5171dd57a50af7adbb41 (patch)
tree65905673484f68f7fe67a634b795c6180ad6a44e /tests
parentUpdate the code to mostly match the new simpler file format (diff)
downloadxz-6368a2fa5901c75864be5171dd57a50af7adbb41.tar.xz
Delete old code that was supposed to be already deleted
from test_block_header.c.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_block_header.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/test_block_header.c b/tests/test_block_header.c
index 658f7fe2..a8ce09b6 100644
--- a/tests/test_block_header.c
+++ b/tests/test_block_header.c
@@ -20,36 +20,6 @@
#include "tests.h"
-static void
-test4(void)
-{
- known_options = (lzma_options_block){
- .has_crc32 = false,
- .has_eopm = true,
- .is_metadata = false,
- .compressed_size = 0,
- .uncompressed_size = 0,
- .compressed_reserve = LZMA_VLI_BYTES_MAX,
- .uncompressed_reserve = LZMA_VLI_BYTES_MAX,
- .padding = 0,
- };
- memcpy(known_options.filters, filters_powerpc,
- sizeof(filters_powerpc));
- expect(!code(21));
-
- // Reserved bits
- buffer[0] ^= 0x40;
- expect(!decode_ret(1, LZMA_HEADER_ERROR));
- buffer[0] ^= 0x40;
-
- buffer[1] ^= 0x40;
- expect(decode_ret(21, LZMA_HEADER_ERROR));
- buffer[1] ^= 0x40;
-
-
-}
-*/
-
static uint8_t buf[LZMA_BLOCK_HEADER_SIZE_MAX];
static lzma_options_block known_options;
static lzma_options_block decoded_options;