summaryrefslogtreecommitdiffstats
path: root/test/objcopy.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-22 21:03:24 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-22 21:03:24 (GMT)
commit681d9231cf2fb1f01ef84c14285195c059d64a16 (patch)
tree5248154a2267ee64b89905933f1d14f5fe27ffd0 /test/objcopy.c
parent0b49961db746a9ef67ae803a9c889bc10caf6b86 (diff)
downloadhdf5-681d9231cf2fb1f01ef84c14285195c059d64a16.zip
hdf5-681d9231cf2fb1f01ef84c14285195c059d64a16.tar.gz
hdf5-681d9231cf2fb1f01ef84c14285195c059d64a16.tar.bz2
[svn-r13166] Fixed bug in H5Ocopy where shared attributes that were deleted during H5Ocopy
would become shared NULL messages (oops!). Added a test for this case. Also fixed the #define that caused errors on Windows (and probably other platforms). This may fix the Daily Test error. Tested on Windows, smirom, kagiso, and juniper.
Diffstat (limited to 'test/objcopy.c')
-rwxr-xr-xtest/objcopy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index 0de4c97..ab01666 100755
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -7180,6 +7180,7 @@ main(void)
nerrors += test_copy_option(fcpl_src, fcpl_dst, my_fapl, H5O_COPY_SHALLOW_HIERARCHY_FLAG, FALSE, "H5Ocopy(): shallow group copy");
nerrors += test_copy_option(fcpl_src, fcpl_dst, my_fapl, H5O_COPY_EXPAND_REFERENCE_FLAG, FALSE, "H5Ocopy(): expand object reference");
nerrors += test_copy_option(fcpl_src, fcpl_dst, my_fapl, H5O_COPY_PRESERVE_NULL_FLAG, FALSE, "H5Ocopy(): preserve NULL messages");
+ nerrors += test_copy_option(fcpl_src, fcpl_dst, my_fapl, H5O_COPY_WITHOUT_ATTR_FLAG | H5O_COPY_PRESERVE_NULL_FLAG, TRUE, "H5Ocopy(): preserve NULL messages");
/* TODO: not implemented
nerrors += test_copy_option(my_fapl, H5O_COPY_EXPAND_EXT_LINK_FLAG, FALSE, "H5Ocopy: expand external link");