summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-09-18 20:12:37 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-09-18 20:12:37 (GMT)
commit09f30c6f452d722975ace0ae57954738d4bf1d61 (patch)
tree1248b3df48460f78d49b4fdfbad16c0deba5c056
parentdab3f0ad0150fa448909ee3317517ddc17ecdf3c (diff)
downloadhdf5-09f30c6f452d722975ace0ae57954738d4bf1d61.zip
hdf5-09f30c6f452d722975ace0ae57954738d4bf1d61.tar.gz
hdf5-09f30c6f452d722975ace0ae57954738d4bf1d61.tar.bz2
[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
-rw-r--r--test/ttsafe_error.c6
1 files 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;