Updated in support of
@@ -145,8 +145,14 @@ main(int argc, char *argv[])
#else
continue;
#endif
- case NC_FORMAT_NETCDF4_CLASSIC:
+
+ /* Repeated test. See https://github.com/Unidata/netcdf-c/issues/556 for more
+ information re: the immediate 'continue' */
case NC_FORMAT_NETCDF4: /* actually it's _CLASSIC. */
+ continue; /* loop i */
+
+
+ case NC_FORMAT_NETCDF4_CLASSIC:
#ifdef USE_NETCDF4
nc_set_default_format(NC_FORMAT_NETCDF4_CLASSIC, NULL);
strcpy(testfile, "nc_test_netcdf4.nc");
