summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_error.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-09-18 20:04:19 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-09-18 20:04:19 (GMT)
commit7723c473271d477873101729aec1395db56cd290 (patch)
treeaaec94a931c0572ca7737fca6df9ff36488960e9 /test/ttsafe_error.c
parentf833aa38014107e40c909e21ae5f3454f8534c0a (diff)
downloadhdf5-7723c473271d477873101729aec1395db56cd290.zip
hdf5-7723c473271d477873101729aec1395db56cd290.tar.gz
hdf5-7723c473271d477873101729aec1395db56cd290.tar.bz2
[svn-r4463]
Purpose: Bug Fix Description: The test for thread safe errors was using hardcoded numbers instead of the "enum" value for the various errors it expected. Solution: Changed to use the enum value instead. Platforms tested: Linux
Diffstat (limited to 'test/ttsafe_error.c')
-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 b9b8b0b..04497ad 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, 32}
+ {H5E_DATASET, H5E_CANTINIT},
+ {H5E_DATASET, H5E_CANTINIT},
+ {H5E_SYM, H5E_EXISTS}
};
int error_flag = 0;