From 0381963da6c151fce90299d6f17e4d2dd80b3b46 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 26 Oct 2011 09:55:23 -0500 Subject: [svn-r21675] Description: Don't check dataset storage size for compressed datasets with region reference datatypes. (The address of the region reference type in the file varies and affects the compressed size) Tested on: Mac OS X/32 10.7.2 (amazon) w/debug & production + check-vfd --- test/objcopy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/objcopy.c b/test/objcopy.c index 4b768fb..5c20ee8 100755 --- a/test/objcopy.c +++ b/test/objcopy.c @@ -1236,7 +1236,8 @@ compare_datasets(hid_t did, hid_t did2, hid_t pid, const void *wbuf) * data in each dataset will (probably) be different and the storage * size will thus vary) */ - if(!(nfilters > 0 && H5Tdetect_class(tid, H5T_VLEN))) { + if(!(nfilters > 0 && (H5Tdetect_class(tid, H5T_VLEN) || + (H5Tdetect_class(tid, H5T_REFERENCE) && H5Tequal(tid, H5T_STD_REF_DSETREG))))) { hsize_t storage_size = H5Dget_storage_size(did); /* Dataset's raw data storage size */ hsize_t storage_size2 = H5Dget_storage_size(did2); /* 2nd Dataset's raw data storage size */ -- cgit v0.12