summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ttsafe_error.c')
-rw-r--r--test/ttsafe_error.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index dc77ca4..5b74e4d 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -85,20 +85,23 @@ void tts_error(void)
expected[0].maj_num = H5E_DATASET;
expected[0].min_num = H5E_CANTINIT;
- expected[1].maj_num = H5E_SYM;
- expected[1].min_num = H5E_EXISTS;
+ expected[1].maj_num = H5E_DATASET;
+ expected[1].min_num = H5E_CANTINIT;
- expected[2].maj_num = H5E_SYM;
- expected[2].min_num = H5E_NOTFOUND;
+ expected[2].maj_num = H5E_LINK;
+ expected[2].min_num = H5E_CANTINIT;
expected[3].maj_num = H5E_SYM;
- expected[3].min_num = H5E_CALLBACK;
+ expected[3].min_num = H5E_CANTINSERT;
expected[4].maj_num = H5E_SYM;
- expected[4].min_num = H5E_EXISTS;
+ expected[4].min_num = H5E_NOTFOUND;
expected[5].maj_num = H5E_SYM;
- expected[5].min_num = H5E_EXISTS;
+ expected[5].min_num = H5E_CALLBACK;
+
+ expected[6].maj_num = H5E_SYM;
+ expected[6].min_num = H5E_EXISTS;
/* set up mutex for global count of errors */
ret=pthread_mutex_init(&error_mutex, NULL);