summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/th5s.c b/test/th5s.c
index eceaf02..ccec8c2 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -102,10 +102,6 @@ test_h5s_basic(void)
/* Output message about test being performed */
MESSAGE(5, ("Testing Dataspace Manipulation\n"));
- /* Create file */
- fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
- CHECK(fid1, FAIL, "H5Fcreate");
-
sid1 = H5Screate_simple(SPACE1_RANK, dims1, NULL);
CHECK(sid1, FAIL, "H5Screate_simple");
@@ -148,10 +144,6 @@ test_h5s_basic(void)
ret = H5Sclose(sid2);
CHECK(ret, FAIL, "H5Sclose");
- /* Close first file */
- ret = H5Fclose(fid1);
- CHECK(ret, FAIL, "H5Fclose");
-
/*
* Check to be sure we can't create a simple data space that has too many
* dimensions.