fixed file name in test
but they use HDF5 the same way that netCDF-4 does, so if these
tests don't work, than netCDF-4 won't work either.
- $Id: tst_h_dimscales1.c,v 1.2 2010/06/01 15:34:51 ed Exp $
+ @author Ed Hartnett
*/
#include "h5_err_macros.h"
#include <hdf5.h>
#include <H5DSpublic.h>
-#define FILE_NAME "tst_h_dimscales.h5"
+#define FILE_NAME "tst_h_dimscales1.h5"
int
main()
{
@@ -77,8 +77,8 @@ main()
H5Dclose(var3_datasetid) < 0 ||
H5Sclose(var1_spaceid) < 0 ||
H5Sclose(var3_spaceid) < 0 ||
- H5Sclose(dimscale_spaceid) < 0 ||
- H5Gclose(grpid) < 0 ||
+ H5Sclose(dimscale_spaceid) < 0) ERR;
+ if (H5Gclose(grpid) < 0 ||
H5Fclose(fileid) < 0) ERR;
}
SUMMARIZE_ERR;
