mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-12 18:10:24 +08:00
Test all three files for compatibility
This commit is contained in:
parent
c1ec950d70
commit
eae6d75d47
@ -45,13 +45,13 @@ int main(int argc, char **argv) {
|
||||
|
||||
{
|
||||
printf("Testing %s\n",FILE_NAME2);
|
||||
if (nc_open(FILE_NAME1, NC_NOWRITE, &ncid)) ERR;
|
||||
if (nc_open(FILE_NAME2, NC_NOWRITE, &ncid)) ERR;
|
||||
if (nc_close(ncid)) ERR;
|
||||
}
|
||||
|
||||
{
|
||||
printf("Testing %s\n",FILE_NAME3);
|
||||
if (nc_open(FILE_NAME1, NC_NOWRITE, &ncid)) ERR;
|
||||
if (nc_open(FILE_NAME3, NC_NOWRITE, &ncid)) ERR;
|
||||
if (nc_close(ncid)) ERR;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user