summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-01-09 22:29:24 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:26 (GMT)
commit14e2c9d3f7e4464f1941548c2aef85f4123c2d3b (patch)
tree48f14f7681652075bfd1457c4fe7a81e4aad1648 /test
parent738b025b3ebc913f95c0cbc0e3b861f3e52ec78b (diff)
downloadhdf5-14e2c9d3f7e4464f1941548c2aef85f4123c2d3b.zip
hdf5-14e2c9d3f7e4464f1941548c2aef85f4123c2d3b.tar.gz
hdf5-14e2c9d3f7e4464f1941548c2aef85f4123c2d3b.tar.bz2
Modify external_env.c to prevent deleting test file of external.c.
Fix for HDFFV-10941.
Diffstat (limited to 'test')
-rw-r--r--test/external_env.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/external_env.c b/test/external_env.c
index 01f2cba..e9c7635 100644
--- a/test/external_env.c
+++ b/test/external_env.c
@@ -15,7 +15,6 @@
* Purpose: Tests datasets stored in external raw files.
*/
#include "external_common.h"
-#include "external_fname.h"
static const char *EXT_ENV_FNAME[] = {
"extern_env_dir/env_file_1",
@@ -189,7 +188,7 @@ main(void)
HDputs("All external storage tests passed.");
/* Clean up files used by file set tests */
- if(h5_cleanup(EXT_FNAME, fapl_id_old)) {
+ if(h5_cleanup(EXT_ENV_FNAME, fapl_id_old)) {
HDremove("extern_env_1r.raw");
HDremove("extern_env_2r.raw");
HDremove("extern_env_3r.raw");