From 2374bb1012dd1d1233a3d1f5b807460cece72b0f Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 13 Oct 2006 12:16:07 -0500 Subject: [svn-r12759] Description: Fix errors with check-vfd and recent modifications to tests. Tested on: Linux/64 2.4 (mir) w/check-vfd --- test/btree2.c | 4 ++-- test/fillval.c | 2 +- test/stab.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/btree2.c b/test/btree2.c index 70f389d..c1fb7e9 100644 --- a/test/btree2.c +++ b/test/btree2.c @@ -7176,9 +7176,9 @@ main(void) const char *envval = NULL; envval = HDgetenv("HDF5_DRIVER"); - if (envval == NULL) + if(envval == NULL) envval = "nomatch"; - if (HDstrcmp(envval, "split") && HDstrcmp(envval, "family")) { + if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "family")) { /* Reset library */ h5_reset(); fapl = h5_fileaccess(); diff --git a/test/fillval.c b/test/fillval.c index 2385585..3691e38 100644 --- a/test/fillval.c +++ b/test/fillval.c @@ -1414,7 +1414,7 @@ main(int argc, char *argv[]) envval = HDgetenv("HDF5_DRIVER"); if(envval == NULL) envval = "nomatch"; - if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi")) { + if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family")) { int nerrors=0, argno, test_contig=1, test_chunk=1, test_compact=1; hid_t fapl = (-1), fapl2 = (-1); /* File access property lists */ hbool_t new_format; /* Whether to use the new format or not */ diff --git a/test/stab.c b/test/stab.c index 74f3366..8010dd6 100644 --- a/test/stab.c +++ b/test/stab.c @@ -1072,7 +1072,7 @@ main(void) envval = HDgetenv("HDF5_DRIVER"); if(envval == NULL) envval = "nomatch"; - if(HDstrcmp(envval, "split")) { + if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family")) { hid_t fapl, fapl2; /* File access property list IDs */ int nerrors = 0; -- cgit v0.12