summaryrefslogtreecommitdiffstats
path: root/hl/test/dectris_hl_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/test/dectris_hl_perf.c')
-rw-r--r--hl/test/dectris_hl_perf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hl/test/dectris_hl_perf.c b/hl/test/dectris_hl_perf.c
index 1938410..c18fe1c 100644
--- a/hl/test/dectris_hl_perf.c
+++ b/hl/test/dectris_hl_perf.c
@@ -275,7 +275,7 @@ test_direct_write_uncompressed_data(hid_t fapl_id)
gettimeofday(&timeval_start,NULL);
/* Reopen the file and dataset */
- if((file = H5Fopen(filename, H5F_ACC_RDWR|H5F_ACC_SYNC, fapl_id)) < 0)
+ if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0)
TEST_ERROR;
if((dataset = H5Dopen(file, DIRECT_UNCOMPRESSED_DSET, H5P_DEFAULT)) < 0)
@@ -340,7 +340,7 @@ test_direct_write_compressed_data(hid_t fapl_id)
gettimeofday(&timeval_start,NULL);
/* Reopen the file and dataset */
- if((file = H5Fopen(filename, H5F_ACC_RDWR|H5F_ACC_SYNC, fapl_id)) < 0)
+ if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0)
TEST_ERROR;
if((dataset = H5Dopen(file, DIRECT_COMPRESSED_DSET, H5P_DEFAULT)) < 0)
@@ -411,7 +411,7 @@ test_compressed_write(hid_t fapl_id)
gettimeofday(&timeval_start,NULL);
/* Reopen the file and dataset */
- if((file = H5Fopen(filename, H5F_ACC_RDWR|H5F_ACC_SYNC, fapl_id)) < 0)
+ if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0)
TEST_ERROR;
if((dataset = H5Dopen(file, REG_COMPRESSED_DSET, H5P_DEFAULT)) < 0)
@@ -499,7 +499,7 @@ test_no_compress_write(hid_t fapl_id)
gettimeofday(&timeval_start,NULL);
/* Reopen the file and dataset */
- if((file = H5Fopen(filename, H5F_ACC_RDWR|H5F_ACC_SYNC, fapl_id)) < 0)
+ if((file = H5Fopen(filename, H5F_ACC_RDWR, fapl_id)) < 0)
TEST_ERROR;
if((dataset = H5Dopen(file, REG_NO_COMPRESS_DSET, H5P_DEFAULT)) < 0)
@@ -568,7 +568,7 @@ test_unix_write(void)
TESTING("Write compressed data to a Unix file");
/* create file*/
- flag = O_WRONLY|O_SYNC;
+ flag = O_WRONLY;
/* Start the timer */
gettimeofday(&timeval_start,NULL);