summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/links.c b/test/links.c
index f2ce9c3..b23bbca 100644
--- a/test/links.c
+++ b/test/links.c
@@ -9367,8 +9367,8 @@ main(void)
#endif /* H5_CANNOT_OPEN_TWICE */
nerrors += external_link_path((new_format ? fapl2 : fapl), new_format) < 0 ? 1 : 0;
nerrors += external_link_mult((new_format ? fapl2 : fapl), new_format) < 0 ? 1 : 0;
- nerrors += external_link_self((new_format ? fapl2 : fapl), new_format) < 0 ? 1 : 0;
#ifndef H5_CANNOT_OPEN_TWICE
+ nerrors += external_link_self((new_format ? fapl2 : fapl), new_format) < 0 ? 1 : 0;
nerrors += external_link_pingpong((new_format ? fapl2 : fapl), new_format) < 0 ? 1 : 0;
nerrors += external_link_toomany((new_format ? fapl2 : fapl), new_format) < 0 ? 1 : 0;
#endif /* H5_CANNOT_OPEN_TWICE */