summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2014-08-19 21:49:41 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2014-08-19 21:49:41 (GMT)
commit2ef52022e0152586f004bbc2318f1e117ac8590e (patch)
tree1ffdfb4fc8e7abec5d0a0705f3fc8a91eddb1bdd /test/ttsafe_error.c
parent43e2783d401b8831ca5ac44630cbb4ae2dab0a14 (diff)
downloadhdf5-2ef52022e0152586f004bbc2318f1e117ac8590e.zip
hdf5-2ef52022e0152586f004bbc2318f1e117ac8590e.tar.gz
hdf5-2ef52022e0152586f004bbc2318f1e117ac8590e.tar.bz2
[svn-r25539] Introduced an intentional failure in order to verify if cloud test machine and
in house machines will fail the same. The change should be reversed after the verification.
Diffstat (limited to 'test/ttsafe_error.c')
-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);