summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-10-31 23:41:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-10-31 23:41:19 (GMT)
commitef7c458d73977b23dceabd24b98029dd9f616816 (patch)
tree18c34b2bf1534e1f7b4f8f5c345f3a94dcf8f403 /test/ttsafe_error.c
parentd66d5e01c0605e5dc3b5c975419aaf551a4458b0 (diff)
downloadhdf5-ef7c458d73977b23dceabd24b98029dd9f616816.zip
hdf5-ef7c458d73977b23dceabd24b98029dd9f616816.tar.gz
hdf5-ef7c458d73977b23dceabd24b98029dd9f616816.tar.bz2
Update for change in error stack when opening a dataset.
Diffstat (limited to 'test/ttsafe_error.c')
-rw-r--r--test/ttsafe_error.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index ddee1af..56d87ee 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -76,26 +76,29 @@ tts_error(void)
expected_g[1].maj_num = H5E_VOL;
expected_g[1].min_num = H5E_CANTCREATE;
- expected_g[2].maj_num = H5E_DATASET;
- expected_g[2].min_num = H5E_CANTINIT;
+ expected_g[2].maj_num = H5E_VOL;
+ expected_g[2].min_num = H5E_CANTCREATE;
expected_g[3].maj_num = H5E_DATASET;
expected_g[3].min_num = H5E_CANTINIT;
- expected_g[4].maj_num = H5E_LINK;
+ expected_g[4].maj_num = H5E_DATASET;
expected_g[4].min_num = H5E_CANTINIT;
expected_g[5].maj_num = H5E_LINK;
- expected_g[5].min_num = H5E_CANTINSERT;
+ expected_g[5].min_num = H5E_CANTINIT;
- expected_g[6].maj_num = H5E_SYM;
- expected_g[6].min_num = H5E_NOTFOUND;
+ expected_g[6].maj_num = H5E_LINK;
+ expected_g[6].min_num = H5E_CANTINSERT;
expected_g[7].maj_num = H5E_SYM;
- expected_g[7].min_num = H5E_CALLBACK;
+ expected_g[7].min_num = H5E_NOTFOUND;
- expected_g[8].maj_num = H5E_LINK;
- expected_g[8].min_num = H5E_EXISTS;
+ expected_g[8].maj_num = H5E_SYM;
+ expected_g[8].min_num = H5E_CALLBACK;
+
+ expected_g[9].maj_num = H5E_LINK;
+ expected_g[9].min_num = H5E_EXISTS;
/* set up mutex for global count of errors */
H5TS_mutex_init(&error_mutex_g);