From 133e949937044c0c2d75a5d434599f9fecb079f2 Mon Sep 17 00:00:00 2001 From: Mathis Rosenhauer Date: Tue, 2 Oct 2012 15:38:08 +0200 Subject: Make FS check more robust --- tests/check_code_options.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/check_code_options.c b/tests/check_code_options.c index ffd361a..12b328f 100644 --- a/tests/check_code_options.c +++ b/tests/check_code_options.c @@ -103,9 +103,11 @@ int check_fs(struct test_state *state) for (tmp = state->ubuf; tmp < state->ubuf + state->buf_len; - tmp += 2 * state->byte_per_sample) { - state->out(tmp, state->xmin + 1, size); + tmp += 4 * state->byte_per_sample) { + state->out(tmp, state->xmin + 2, 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 ... "); -- cgit v1.2.3