MDTest: Document choice of 42.

master
Julian M. Kunkel 2019-08-15 16:21:30 +01:00
parent 9464fa79f2
commit de3baf8861
1 changed files with 1 additions and 1 deletions

View File

@ -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, &param)) {
FAIL("unable to read file %s", item);
}