Skip to content

Commit

Permalink
Test opening dataset with fill value in DCPL
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala committed Oct 9, 2023
1 parent 996dd87 commit bfc3de5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vol_dataset_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2616,6 +2616,19 @@ test_create_dataset_creation_properties(void)
HDfree(read_buf);
read_buf = NULL;

/* Re-open dataset with a fill value */
if (H5Dopen2(dset_id, DATASET_FILL_VALUE_TEST_DSET_NAME2, H5P_DEFAULT) < 0) {
H5_FAILED();
HDprintf(" couldn't open double fill value dataset");
PART_ERROR(DCPL_fill_value_test);
}

if (H5Dclose(dset_id) < 0) {
H5_FAILED();
HDprintf(" couldn't close opened double fill value dataset");
PART_ERROR(DCPL_fill_value_test);
}

PASSED();
}
PART_END(DCPL_fill_value_test);
Expand Down

0 comments on commit bfc3de5

Please sign in to comment.