Merge pull request #100 from glennklockwood/issue95

stop the segfault when an invalid api is specified in configfile
master
Julian Kunkel 2018-10-06 16:50:55 +01:00 committed by GitHub
commit 86726030d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1231,6 +1231,9 @@ static void TestIoSys(IOR_test_t *test)
/* bind I/O calls to specific API */
backend = aiori_select(params->api);
if (backend == NULL)
ERR_SIMPLE("unrecognized I/O API");
/* show test setup */
if (rank == 0 && verbose >= VERBOSE_0)