mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Tests: Clarify a comment in test_lzip_decoder.c.
This commit is contained in:
parent
2fcba17fc4
commit
ce96bb2043
1 changed files with 6 additions and 2 deletions
|
@ -19,8 +19,12 @@
|
||||||
#define DECODE_CHUNK_SIZE 1024
|
#define DECODE_CHUNK_SIZE 1024
|
||||||
|
|
||||||
|
|
||||||
// Avoiding using data buffers so we don't have to store the data buffers
|
// The uncompressed data in the test files are short US-ASCII strings.
|
||||||
// as large hex strings. Instead, store the CRC32 value of the expected data.
|
// The tests check if the decompressed output is what it is expected to be.
|
||||||
|
// Storing the strings here as text would break the tests on EBCDIC systems
|
||||||
|
// and storing the strings as an array of hex values is inconvenient, so
|
||||||
|
// store the CRC32 values of the expected data instead.
|
||||||
|
//
|
||||||
// CRC32 value of "Hello\nWorld\n"
|
// CRC32 value of "Hello\nWorld\n"
|
||||||
static const uint32_t hello_world_crc = 0x15A2A343;
|
static const uint32_t hello_world_crc = 0x15A2A343;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue