From cfabb5c9ff92a87fbf941974c66be569706caa66 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Mon, 18 Feb 2019 16:33:30 -0700 Subject: [PATCH] more test work --- tests/cunit/test_perf1.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/cunit/test_perf1.c b/tests/cunit/test_perf1.c index abd99b176b7..61ff8419f45 100644 --- a/tests/cunit/test_perf1.c +++ b/tests/cunit/test_perf1.c @@ -224,19 +224,6 @@ int test_perf1(int iosysid, int ioid, int num_flavors, int *flavor, int my_rank, } } - /* Try to write, but it won't work, because we opened file read-only. */ - if (!test_multi) - { - if (PIOc_write_darray(ncid2, varid, ioid, arraylen, test_data, fillvalue) != PIO_EPERM) - ERR(ERR_WRONG); - } - else - { - if (PIOc_write_darray_multi(ncid2, &varid, ioid, 1, arraylen, test_data, &frame, - fillvalue, flushtodisk) != PIO_EPERM) - ERR(ERR_WRONG); - } - /* Close the netCDF file. */ if ((ret = PIOc_closefile(ncid2))) ERR(ret);