summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-08-09 19:59:35 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-08-09 19:59:35 (GMT)
commit35719c0f6b52ccf5271ac5c57bd772458f048bd5 (patch)
tree008e25a92e3435b9628d97ec2587a593e63c1671 /test/ttsafe_error.c
parentd4aae6cbffbbf46752e5834718c2b52c32529fa2 (diff)
downloadhdf5-35719c0f6b52ccf5271ac5c57bd772458f048bd5.zip
hdf5-35719c0f6b52ccf5271ac5c57bd772458f048bd5.tar.gz
hdf5-35719c0f6b52ccf5271ac5c57bd772458f048bd5.tar.bz2
[svn-r12558] Problem:
Daily test for ttsafe failed on several machines due to the changed error stack. Solution: Updated the source code to use new error stack. Platforms tested: shanti
Diffstat (limited to 'test/ttsafe_error.c')
-rw-r--r--test/ttsafe_error.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index 9630116..9a7b239 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -81,10 +81,10 @@ void tts_error(void)
int ret;
/* Must initialize these at runtime */
- expected[0].maj_num = H5E_ATOM;
- expected[0].min_num = H5E_CANTREGISTER;
+ expected[0].maj_num = H5E_LINK;
+ expected[0].min_num = H5E_CANTINIT;
- expected[1].maj_num = H5E_SYM;
+ expected[1].maj_num = H5E_LINK;
expected[1].min_num = H5E_CANTINIT;
expected[2].maj_num = H5E_SYM;
@@ -168,7 +168,7 @@ void *tts_error_thread(void UNUSED *arg)
H5Eget_auto_stack(H5E_DEFAULT, &old_error_cb, &old_error_client_data);
/* set each thread's error stack handler */
- H5Eset_auto_stack(H5E_DEFAULT, error_callback, NULL);
+ H5Eset_auto_stack(H5E_DEFAULT, error_callback, NULL);
/* define dataspace for dataset */
dimsf[0] = 1;
@@ -194,7 +194,7 @@ void *tts_error_thread(void UNUSED *arg)
assert(ret>=0);
/* turn our error stack handler off */
- H5Eset_auto_stack(H5E_DEFAULT, old_error_cb, old_error_client_data);
+ H5Eset_auto_stack(H5E_DEFAULT, old_error_cb, old_error_client_data);
return NULL;
}