From 0c3c4a158a20c3f4869c537633495ee477474437 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 10 Jan 2003 08:17:03 -0500 Subject: [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 --- test/ttsafe_error.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c index 485c6e5..54ffc4b 100644 --- a/test/ttsafe_error.c +++ b/test/ttsafe_error.c @@ -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; -- cgit v0.12