projects
/
platform
/
upstream
/
libaec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa68d15
)
Make FS check more robust
author
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Tue, 2 Oct 2012 13:38:08 +0000
(15:38 +0200)
committer
Thomas Jahns
<jahns@dkrz.de>
Tue, 19 Feb 2013 10:33:00 +0000
(11:33 +0100)
tests/check_code_options.c
patch
|
blob
|
history
diff --git
a/tests/check_code_options.c
b/tests/check_code_options.c
index
ffd361a
..
12b328f
100644
(file)
--- 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 ... ");