summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-04-29 21:50:13 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-04-29 21:50:13 (GMT)
commit0c896fcdf9ebde870ead2dcee9a82e135554c28d (patch)
tree147ab4ae35da85b5cfe05412b49e5e4b86392c8d /test
parent3d904f8141f246f3bca6e58222a6569b7b0e005f (diff)
downloadhdf5-0c896fcdf9ebde870ead2dcee9a82e135554c28d.zip
hdf5-0c896fcdf9ebde870ead2dcee9a82e135554c28d.tar.gz
hdf5-0c896fcdf9ebde870ead2dcee9a82e135554c28d.tar.bz2
Missed an env check before strcmp.
Diffstat (limited to 'test')
-rw-r--r--test/h5test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c
index dba8cf7..59ccfe4 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -610,7 +610,7 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix,
if(!env)
env = HDF5_DRIVER;
#endif
- if(!HDstrcmp(env, "split")) {
+ if(env && !HDstrcmp(env, "split")) {
/* split VFD */
if(subst_for_superblock)
suffix = "-m.h5";