summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-01-09 22:29:24 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-01-09 22:29:24 (GMT)
commita7c5c5715a18ccded5a7cdb070d1bf5cdd9fb14d (patch)
tree7612359bd890364f7f08ac1fc1650dbbd676ba92
parentc3ae64a8753e6449a8c5c5e58325f0cb7e7990b6 (diff)
downloadhdf5-a7c5c5715a18ccded5a7cdb070d1bf5cdd9fb14d.zip
hdf5-a7c5c5715a18ccded5a7cdb070d1bf5cdd9fb14d.tar.gz
hdf5-a7c5c5715a18ccded5a7cdb070d1bf5cdd9fb14d.tar.bz2
Modify external_env.c to prevent deleting test file of external.c.
Fix for HDFFV-10941.
-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");