summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-04-11 17:18:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-04-11 17:18:45 (GMT)
commite07044f5c99cee6c996de2f298802695babcaa9c (patch)
treed7cacf4fa71aac6ec8c3e880d3f632c487569434 /test/ttsafe_error.c
parent5588dbd8d74d0cd0c689312ffa3f6815cc94fee9 (diff)
downloadhdf5-e07044f5c99cee6c996de2f298802695babcaa9c.zip
hdf5-e07044f5c99cee6c996de2f298802695babcaa9c.tar.gz
hdf5-e07044f5c99cee6c996de2f298802695babcaa9c.tar.bz2
[svn-r13639] Description:
Accomodate changes in error stack for recent library code changes. Tested on: Linux/64 2.6 (chicago2) w/threadsafe
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);