[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:
Quincey Koziol 2003-01-10 08:17:03 -05:00
parent 98f01e2df2
commit 0c3c4a158a

View File

@ -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;