summaryrefslogtreecommitdiffstats
path: root/test/external.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/external.c')
-rw-r--r--test/external.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/external.c b/test/external.c
index b17df58..48aea9c 100644
--- a/test/external.c
+++ b/test/external.c
@@ -824,10 +824,7 @@ main (void)
if (H5Fclose(file)<0) goto error;
puts("All external storage tests passed.");
- h5_cleanup(fapl);
-
- /* cleanup external files */
- if (!getenv("HDF5_NOCLEANUP")) {
+ if (h5_cleanup(fapl)) {
remove("extern_1a.raw");
remove("extern_1b.raw");
remove("extern_2a.raw");