From 35719c0f6b52ccf5271ac5c57bd772458f048bd5 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Wed, 9 Aug 2006 14:59:35 -0500 Subject: [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 --- test/ttsafe_error.c | 10 +++++----- 1 file 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; } -- cgit v0.12