summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-02 04:16:11 (GMT)
committerGitHub <noreply@github.com>2023-08-02 04:16:11 (GMT)
commit56451503c55ef6e5f67fc3bb710f9e5b649b1af2 (patch)
treef7bd6533dcb6ef8d6eb8f628a869105f3ddb29a3 /test
parent74352dfda887c2ffe336bbcea19ee978dcd2ce8c (diff)
downloadhdf5-56451503c55ef6e5f67fc3bb710f9e5b649b1af2.zip
hdf5-56451503c55ef6e5f67fc3bb710f9e5b649b1af2.tar.gz
hdf5-56451503c55ef6e5f67fc3bb710f9e5b649b1af2.tar.bz2
Fix loading plugin fails with missing directory GH issue #3248 (#3315)
Diffstat (limited to 'test')
-rw-r--r--test/filter_plugin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/filter_plugin.c b/test/filter_plugin.c
index 64230e5..6bd63d5 100644
--- a/test/filter_plugin.c
+++ b/test/filter_plugin.c
@@ -1524,6 +1524,12 @@ main(void)
else
my_fapl_id = old_ff_fapl_id;
+ /* Add extra path to check for correct error process */
+ if (H5PLprepend("bogus") < 0) {
+ fprintf(stderr, "Could not prepend path:bogus\n");
+ TEST_ERROR;
+ }
+
/* Reopen the file for testing data reading */
if ((fid = H5Fopen(filename, H5F_ACC_RDONLY, my_fapl_id)) < 0)
TEST_ERROR;