From 09f30c6f452d722975ace0ae57954738d4bf1d61 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 18 Sep 2001 15:12:37 -0500 Subject: [svn-r4464] Purpose: Bug Fix Description: The error codes checked for were hardcoded into the program. Solution: Used the "enum" names instead. Platforms tested: Linux --- test/ttsafe_error.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c index 3915d2e..485c6e5 100644 --- a/test/ttsafe_error.c +++ b/test/ttsafe_error.c @@ -56,9 +56,9 @@ typedef struct err_num_struct { } err_num_t; err_num_t expected[] = { - {15, 23}, - {15, 23}, - {10, 34} + {H5E_DATASET, H5E_CANTINIT}, + {H5E_DATASET, H5E_CANTINIT}, + {H5E_SYM, H5E_EXISTS} }; int error_flag = 0; -- cgit v0.12