summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-03 13:34:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-03 13:34:41 (GMT)
commitdc1a35a8433faf5f618966cad4549a6ca941ebe1 (patch)
tree37a3b53548b32af7dfd9570607501c308ea995dd
parente9ea7e8eaf0627f863d8a5f7805fdbb4334a67b0 (diff)
downloadhdf5-dc1a35a8433faf5f618966cad4549a6ca941ebe1.zip
hdf5-dc1a35a8433faf5f618966cad4549a6ca941ebe1.tar.gz
hdf5-dc1a35a8433faf5f618966cad4549a6ca941ebe1.tar.bz2
[svn-r12709] Description:
Don't use 'TEST_ERROR' macro in file generation... Tested on: None, just eyeballed - very minor...
-rw-r--r--test/gen_new_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_new_group.c b/test/gen_new_group.c
index 7e54c90..8d09a8a 100644
--- a/test/gen_new_group.c
+++ b/test/gen_new_group.c
@@ -47,10 +47,10 @@ int main(void)
if(H5Pset_link_phase_change(fcpl, 0, 0) < 0) goto error;
/* Copy the file access property list */
- if((fapl = H5Pcreate(H5P_FILE_ACCESS)) < 0) TEST_ERROR
+ if((fapl = H5Pcreate(H5P_FILE_ACCESS)) < 0) goto error;
/* Set the "use the latest version of the format" flag for creating objects in the file */
- if(H5Pset_latest_format(fapl, TRUE) < 0) TEST_ERROR
+ if(H5Pset_latest_format(fapl, TRUE) < 0) goto error;
/* Create file for test groups */
if((fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, fcpl, fapl)) <0) goto error;