From e10bebe653bae02ca466da9072b6e7025b61124f Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Sat, 7 Jul 2018 12:14:34 +0100 Subject: [PATCH] MDTest supports only POSIX at the moment. Added command line check. --- src/ior.c | 1 - src/mdtest.c | 4 ++++ testing/basic-tests.sh | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ior.c b/src/ior.c index f4dbe41..59b7802 100755 --- a/src/ior.c +++ b/src/ior.c @@ -2701,7 +2701,6 @@ static IOR_offset_t WriteOrRead(IOR_param_t * test, IOR_results_t * results, voi offsetArray = GetOffsetArraySequential(test, pretendRank); } - /* check for stonewall */ startForStonewall = GetTimeStamp(); hitStonewall = ((test->deadlineForStonewalling != 0) diff --git a/src/mdtest.c b/src/mdtest.c index defd6b6..838a586 100644 --- a/src/mdtest.c +++ b/src/mdtest.c @@ -1646,6 +1646,10 @@ void valid_tests() { FAIL("-c not compatible with -B"); } + if ( strcasecmp(backend_name, "POSIX") != 0) { + FAIL("-a only supported interface is POSIX right now!"); + } + /* check for shared file incompatibilities */ if (unique_dir_per_task && shared_file && rank == 0) { FAIL("-u not compatible with -S"); diff --git a/testing/basic-tests.sh b/testing/basic-tests.sh index e53c091..01d7477 100755 --- a/testing/basic-tests.sh +++ b/testing/basic-tests.sh @@ -11,6 +11,7 @@ ROOT=${0%/*} source $ROOT/test-lib.sh MDTEST 1 -a POSIX +#MDTEST 2 -a POSIX -W 2 IOR 1 -a POSIX -w -z -F -Y -e -i1 -m -t 100k -b 1000k IOR 1 -a POSIX -w -z -F -k -e -i2 -m -t 100k -b 100k