summaryrefslogtreecommitdiffstats
path: root/test/extend.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/extend.c')
-rw-r--r--test/extend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/extend.c b/test/extend.c
index 7f899ee..7de127e 100644
--- a/test/extend.c
+++ b/test/extend.c
@@ -54,7 +54,7 @@ main (void)
assert (mem_space>=0);
/* Create the file */
- file = H5Fcreate ("extend.h5", H5ACC_OVERWRITE, H5C_DEFAULT, H5C_DEFAULT);
+ file = H5Fcreate ("extend.h5", H5F_ACC_TRUNC, H5C_DEFAULT, H5C_DEFAULT);
assert (file>=0);
/* Create the dataset which is originally NX by NY */