summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ttsafe_error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index b81a7ad..aa15a11 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -148,6 +148,8 @@ void tts_error(void)
ret=H5Dclose(dataset);
assert(ret>=0);
ret=H5Fclose(error_file);
+/* intentional failure */
+ret=-1;
assert(ret>=0);
H5TS_attr_destroy(&attribute);