From: Mathis Rosenhauer Date: Tue, 2 Oct 2012 13:38:08 +0000 (+0200) Subject: Make FS check more robust X-Git-Tag: accepted/tizen/5.0/unified/20181102.025501~211 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=133e949937044c0c2d75a5d434599f9fecb079f2;p=platform%2Fupstream%2Flibaec.git Make FS check more robust --- 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 ... ");