summaryrefslogtreecommitdiffstats
path: root/test/ros3.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 19:33:16 (GMT)
committerGitHub <noreply@github.com>2023-07-28 19:33:16 (GMT)
commit8ddf2706f7e0cde59fad6624e2863960e62f6544 (patch)
treef090bb9fa368c90f67029f5d860ef39df3e8b038 /test/ros3.c
parentb1ab59d239c74cdbea7d518b1398458c4150655f (diff)
downloadhdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.zip
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.gz
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.bz2
Sync of src w/ develop (#3307)
Diffstat (limited to 'test/ros3.c')
-rw-r--r--test/ros3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ros3.c b/test/ros3.c
index e7bc131..267aa0a 100644
--- a/test/ros3.c
+++ b/test/ros3.c
@@ -1087,7 +1087,8 @@ test_H5FDread_without_eoa_set_fails(void)
* TEARDOWN *
************/
- FAIL_IF(FAIL == H5FDclose(file_shakespeare)) file_shakespeare = NULL;
+ FAIL_IF(FAIL == H5FDclose(file_shakespeare))
+ file_shakespeare = NULL;
FAIL_IF(FAIL == H5Pclose(fapl_id))
fapl_id = -1;
@@ -1396,7 +1397,8 @@ test_noops_and_autofails(void)
* TEARDOWN *
************/
- FAIL_IF(FAIL == H5FDclose(file)) file = NULL;
+ FAIL_IF(FAIL == H5FDclose(file))
+ file = NULL;
FAIL_IF(FAIL == H5Pclose(fapl_id))
fapl_id = -1;