summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 617b0b7..8261103 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -375,7 +375,7 @@ main(void)
assert (status>=0);
unlink("dataset.h5");
- file = H5Fcreate("dataset.h5", H5ACC_DEFAULT, H5C_DEFAULT, H5C_DEFAULT);
+ file = H5Fcreate("dataset.h5", H5F_ACC_TRUNC, H5C_DEFAULT, H5C_DEFAULT);
assert(file >= 0);
status = test_create(file);