mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Tests: Hopefully fix test_check.c to work on EBCDIC systems.
Thanks to Daniel Richard G.
This commit is contained in:
parent
c9a8071e66
commit
a45badf034
1 changed files with 7 additions and 2 deletions
|
@ -15,8 +15,13 @@
|
||||||
#include "tests.h"
|
#include "tests.h"
|
||||||
|
|
||||||
|
|
||||||
static const uint8_t test_string[9] = "123456789";
|
// These must be specified as numbers so that the test works on EBCDIC
|
||||||
static const uint8_t test_unaligned[12] = "xxx123456789";
|
// systems too.
|
||||||
|
// static const uint8_t test_string[9] = "123456789";
|
||||||
|
// static const uint8_t test_unaligned[12] = "xxx123456789";
|
||||||
|
static const uint8_t test_string[9] = { 49, 50, 51, 52, 53, 54, 55, 56, 57 };
|
||||||
|
static const uint8_t test_unaligned[12]
|
||||||
|
= { 120, 120, 120, 49, 50, 51, 52, 53, 54, 55, 56, 57 };
|
||||||
|
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
Loading…
Reference in a new issue