Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add regression tests modifying attributes 2^16 times
This commit adds three new tests: - a test documenting the limitation originally reported in Unidata#350 (in general modifying an attribute about 2^16 times makes it impossible to modify this file in ways requiring nc_redef() and nc_enddef() calls). - a test ensuring that a scalar attribute can be modified 2^16 times as long as its type and size remain the same - a test ensuring that a text attribute can be modified 2^16 times as long as its size remains the same This version uses the nc_redef(), nc_put_att_...(), nc_enddef() sequence. One could also use nc_open(), nc_put_att_...(), nc_close() but that would make these tests significantly slower.
- Loading branch information