Commit 133e9499 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer Committed by Thomas Jahns

Make FS check more robust

parent fa68d153
...@@ -103,9 +103,11 @@ int check_fs(struct test_state *state) ...@@ -103,9 +103,11 @@ int check_fs(struct test_state *state)
for (tmp = state->ubuf; for (tmp = state->ubuf;
tmp < state->ubuf + state->buf_len; tmp < state->ubuf + state->buf_len;
tmp += 2 * state->byte_per_sample) { tmp += 4 * state->byte_per_sample) {
state->out(tmp, state->xmin + 1, size); state->out(tmp, state->xmin + 2, size);
state->out(tmp + size, state->xmin, size); state->out(tmp + size, state->xmin, size);
state->out(tmp + 2 * size, state->xmin, size);
state->out(tmp + 3 * size, state->xmin, size);
} }
printf("Checking FS ... "); printf("Checking FS ... ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment