summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrian Sawicki <bsawicki@hdfgroup.org>2021-11-11 22:43:48 (GMT)
committerBrian Sawicki <bsawicki@hdfgroup.org>2021-11-11 22:43:48 (GMT)
commit37a535842f1e3c0930486cd1f664e54e0ae7dd44 (patch)
tree9ab78066542c76790134992db956ee8b3b5dbbb0 /test
parent3a846a3f540061ffe843e1a9d632ce0a696711e4 (diff)
downloadhdf5-37a535842f1e3c0930486cd1f664e54e0ae7dd44.zip
hdf5-37a535842f1e3c0930486cd1f664e54e0ae7dd44.tar.gz
hdf5-37a535842f1e3c0930486cd1f664e54e0ae7dd44.tar.bz2
checkpoint fixes, passes but with inifinite loop on shutdown
Diffstat (limited to 'test')
-rw-r--r--test/onion.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/test/onion.c b/test/onion.c
index 0bbf1bb..648ab60 100644
--- a/test/onion.c
+++ b/test/onion.c
@@ -3056,7 +3056,7 @@ error:
static int
test_integration_create(void)
{
- const char *basename = "example.h5";
+ const char *basename = "integration.h5";
// const char *basename = "somesuch.h5";
hid_t fapl_id = H5I_INVALID_HID;
struct onion_filepaths *paths = NULL;
@@ -3210,8 +3210,8 @@ test_integration_create(void)
HDputs(".");
fflush(stdout);
- //file_id = H5Fopen(paths->canon, H5F_ACC_RDWR, fapl_id;
- file_id = H5Fopen(paths->canon, H5F_ACC_RDWR, H5P_DEFAULT);
+ file_id = H5Fopen(paths->canon, H5F_ACC_RDWR, fapl_id);
+ //file_id = H5Fopen(paths->canon, H5F_ACC_RDWR, H5P_DEFAULT);
HDputs(".");
fflush(stdout);
@@ -3230,6 +3230,7 @@ test_integration_create(void)
printf("\n\n\n\nERROR OPENING DSET\n\n\n\n");
TEST_ERROR
}
+
HDputs(".");
HDfflush(stdout);
int dset_data[4][7];
@@ -3260,10 +3261,10 @@ test_integration_create(void)
TEST_ERROR;
fapl_id = H5I_INVALID_HID;
- HDremove(paths->canon);
- HDremove(paths->onion);
- HDremove(paths->recovery);
- onion_filepaths_destroy(paths);
+ //HDremove(paths->canon);
+ //HDremove(paths->onion);
+ //HDremove(paths->recovery);
+ //onion_filepaths_destroy(paths);
PASSED();
return 0;
@@ -3271,10 +3272,10 @@ test_integration_create(void)
error:
if (paths != NULL) {
- HDremove(paths->canon);
- HDremove(paths->onion);
- HDremove(paths->recovery);
- onion_filepaths_destroy(paths);
+ //HDremove(paths->canon);
+ //HDremove(paths->onion);
+ //HDremove(paths->recovery);
+ //onion_filepaths_destroy(paths);
}
if (dset != H5I_INVALID_HID)
@@ -3308,7 +3309,7 @@ main(void)
flags_create_s = H5F_ACC_RDWR | H5F_ACC_CREAT | H5F_ACC_TRUNC;
/* Run tests. Return values on error are negative. */
- nerrors -= test_archival_index();
+ /*nerrors -= test_archival_index();
nerrors -= test_revision_index();
nerrors -= test_revision_index_collisions();
nerrors -= test_revision_index_resizing();
@@ -3323,7 +3324,7 @@ main(void)
nerrors -= test_create_oniontarget(FALSE, TRUE);
nerrors -= test_create_oniontarget(TRUE, TRUE);
nerrors -= test_several_revisions_with_logical_gaps();
- nerrors -= test_page_aligned_history_create();
+ nerrors -= test_page_aligned_history_create();*/
nerrors -= test_integration_create();
#if H5FD_ONION_ENABLE_INDEX_STATS