Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jan 30, 2019
1 parent 85637da commit 254b32e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cunit/test_pioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,11 @@ int test_iotypes(int my_rank)
*/
int check_strerror_netcdf(int my_rank)
{
#define NUM_NETCDF_TRIES 5
int errcode[NUM_NETCDF_TRIES] = {PIO_EBADID, NC4_LAST_ERROR - 1, 0, 1, -600};
#define NUM_NETCDF_TRIES 4
int errcode[NUM_NETCDF_TRIES] = {PIO_EBADID, NC4_LAST_ERROR - 1, 0, 1};
const char *expected[NUM_NETCDF_TRIES] = {"NetCDF: Not a valid ID",
"Unknown Error: Unrecognized error code", "No error",
nc_strerror(1), "Unknown Error: Unrecognized error code"};
nc_strerror(1)};
int ret;

if ((ret = check_error_strings(my_rank, NUM_NETCDF_TRIES, errcode, expected)))
Expand Down

0 comments on commit 254b32e

Please sign in to comment.