Skip to content

Commit

Permalink
fixing over-sensitive error string test_pioc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 14, 2019
1 parent f99b500 commit fa5a046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cunit/test_pioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ int test_iotypes(int my_rank)
int check_strerror_netcdf(int my_rank)
{
#define NUM_NETCDF_TRIES 4
int errcode[NUM_NETCDF_TRIES] = {PIO_EBADID, NC4_LAST_ERROR - 1, 0, 1};
int errcode[NUM_NETCDF_TRIES] = {PIO_EBADID, NC4_LAST_ERROR - 10, 0, 1};
const char *expected[NUM_NETCDF_TRIES] = {"NetCDF: Not a valid ID",
"Unknown Error: Unrecognized error code", "No error",
nc_strerror(1)};
Expand Down

0 comments on commit fa5a046

Please sign in to comment.