mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r6263] Purpose:
Update test Description: Some of the performance improvements changed the errors that are reported for creating a duplicated dataset in a file, causing this test's hard-coded errors to check for to fail. Solution: Updated error stack reported for dataset creation failure. Platforms tested: FreeBSD 4.7 (sleipnir) w/threads
This commit is contained in:
parent
98f01e2df2
commit
0c3c4a158a
@ -40,7 +40,7 @@ static int dummy; /* just to create a non-empty object file */
|
||||
|
||||
/* Having a common dataset name is an error */
|
||||
#define DATASETNAME "commonname"
|
||||
#define EXPECTED_ERROR_DEPTH 3
|
||||
#define EXPECTED_ERROR_DEPTH 8
|
||||
#define WRITE_NUMBER 37
|
||||
|
||||
static herr_t error_callback(void *);
|
||||
@ -58,7 +58,12 @@ typedef struct err_num_struct {
|
||||
err_num_t expected[] = {
|
||||
{H5E_DATASET, H5E_CANTINIT},
|
||||
{H5E_DATASET, H5E_CANTINIT},
|
||||
{H5E_SYM, H5E_EXISTS}
|
||||
{H5E_SYM, H5E_EXISTS},
|
||||
{H5E_SYM, H5E_CANTINSERT},
|
||||
{H5E_SYM, H5E_CANTINSERT},
|
||||
{H5E_BTREE, H5E_CANTINIT},
|
||||
{H5E_BTREE, H5E_CANTINSERT},
|
||||
{H5E_SYM, H5E_CANTINSERT},
|
||||
};
|
||||
|
||||
int error_flag = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user