mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-13 17:18:08 +08:00
now test that bad version number in dispatch table causes rejection
This commit is contained in:
parent
e957ebccfa
commit
1487a921ba
@ -340,7 +340,8 @@ main(int argc, char **argv)
|
||||
for (i = 0; i < NUM_UDFS; i++)
|
||||
{
|
||||
/* Make sure our bad version format is rejected. */
|
||||
if (nc_def_user_format(mode[i], &tst_dispatcher_bad_version, NULL) != NC_EINVAL) ERR;
|
||||
if (nc_def_user_format(mode[i], &tst_dispatcher_bad_version,
|
||||
NULL) != NC_EINVAL) ERR;
|
||||
}
|
||||
}
|
||||
SUMMARIZE_ERR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user