Skip to content

Commit

Permalink
more test work
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Feb 18, 2019
1 parent 9db86c1 commit cfabb5c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/cunit/test_perf1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cfabb5c

Please sign in to comment.