summaryrefslogtreecommitdiffstats
path: root/test/external.c
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2019-09-23 21:25:25 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2019-09-23 21:25:25 (GMT)
commit1070468dac5d0fd5e02b69514d7a0dfacfd28606 (patch)
treecce44dfa61912f305aadb4683ec6b1dd09eb199a /test/external.c
parentaa797af31b41773281ee55dab47cca278244f933 (diff)
downloadhdf5-1070468dac5d0fd5e02b69514d7a0dfacfd28606.zip
hdf5-1070468dac5d0fd5e02b69514d7a0dfacfd28606.tar.gz
hdf5-1070468dac5d0fd5e02b69514d7a0dfacfd28606.tar.bz2
Change print calls to HD-wrapped.
Minor formatting tweaks (inc. regressions and in-file style-matching).
Diffstat (limited to 'test/external.c')
-rw-r--r--test/external.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/external.c b/test/external.c
index 56cc816..50d94ab 100644
--- a/test/external.c
+++ b/test/external.c
@@ -457,8 +457,7 @@ test_multiple_files(hid_t file)
TESTING("multiple external files");
- dcpl = H5Pcreate(H5P_DATASET_CREATE);
- if(dcpl < 0)
+ if((dcpl = H5Pcreate(H5P_DATASET_CREATE)) < 0)
FAIL_STACK_ERROR
max_ext_size = (hsize_t)(sizeof(int) * max_size[0] / n_external_files);
@@ -596,7 +595,7 @@ test_overflow(void)
TESTING("address overflow in external files");
- if((dcpl = H5Pcreate (H5P_DATASET_CREATE)) < 0)
+ if((dcpl = H5Pcreate(H5P_DATASET_CREATE)) < 0)
FAIL_STACK_ERROR
if(H5Pset_external(dcpl, "ext1.data", (off_t)0, H5F_UNLIMITED-1) < 0)
FAIL_STACK_ERROR