From 93355314de8bbc2b0607f6ba6664afbf57048618 Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Sat, 9 Dec 2017 17:22:58 +0100 Subject: [PATCH] Adjusted command line checks for recent changes in semantics for readCheck/writeCheck. --- src/ior.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ior.c b/src/ior.c index aa45b22..e6f6033 100755 --- a/src/ior.c +++ b/src/ior.c @@ -2280,10 +2280,10 @@ static void ValidateTests(IOR_param_t * test) test, &defaults, interTestDelay); if (test->readFile != TRUE && test->writeFile != TRUE && test->checkRead != TRUE && test->checkWrite != TRUE) - ERR("test must write, read, or check file"); - if ((test->deadlineForStonewalling > 0) - && (test->checkWrite == TRUE || test->checkRead == TRUE)) - ERR("can not perform write or read check with stonewalling"); + ERR("test must write, read, or check read/write file"); + if(! test->setTimeStampSignature && test->writeFile != TRUE && test->checkRead == TRUE) + ERR("readCheck requires to write a timeStampSignature before using -G"); + if (test->segmentCount < 0) ERR("segment count must be positive value"); if ((test->blockSize % sizeof(IOR_size_t)) != 0)