MDTest: Document choice of 42.
parent
9464fa79f2
commit
de3baf8861
|
@ -700,7 +700,7 @@ void mdtest_read(int random, int dirs, const long dir_iter, char *path) {
|
|||
|
||||
/* read file */
|
||||
if (read_bytes > 0) {
|
||||
read_buffer[0] = 42;
|
||||
read_buffer[0] = 42; /* use a random value to ensure that the read_buffer is now different from the expected buffer and read isn't sometimes NOOP */
|
||||
if (read_bytes != (size_t) backend->xfer (READ, aiori_fh, (IOR_size_t *) read_buffer, read_bytes, ¶m)) {
|
||||
FAIL("unable to read file %s", item);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue