summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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";