mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
io: fix unit test
This commit is contained in:
parent
1efb3c7477
commit
70b87de26e
1 changed files with 2 additions and 2 deletions
|
@ -181,9 +181,9 @@ ParameterizedTest(char *fmt, io, lowlevel)
|
|||
struct format_type *f;
|
||||
|
||||
struct pool p = { .state = STATE_DESTROYED };
|
||||
struct io io = { .state = STATE_DESTROYED };
|
||||
struct sample *smps[NUM_SAMPLES];
|
||||
struct sample *smpt[NUM_SAMPLES];
|
||||
struct io io;
|
||||
|
||||
ret = pool_init(&p, 2 * NUM_SAMPLES, SAMPLE_LEN(NUM_VALUES), &memtype_hugepage);
|
||||
cr_assert_eq(ret, 0);
|
||||
|
@ -223,9 +223,9 @@ ParameterizedTest(char *fmt, io, highlevel)
|
|||
int ret, cnt;
|
||||
char *retp;
|
||||
|
||||
struct io io;
|
||||
struct format_type *f;
|
||||
|
||||
struct io io = { .state = STATE_DESTROYED };
|
||||
struct pool p = { .state = STATE_DESTROYED };
|
||||
struct sample *smps[NUM_SAMPLES];
|
||||
struct sample *smpt[NUM_SAMPLES];
|
||||
|
|
Loading…
Add table
Reference in a new issue