summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-02 16:27:10 (GMT)
committerGitHub <noreply@github.com>2023-08-02 16:27:10 (GMT)
commit179b4a0d45cdafcc385c7edec81a70633431893d (patch)
tree847c5d42133fe585c58374927f58900156b7fcf2 /test
parenta2bd42d9f2752a5de7eb92216624cdb63663ba51 (diff)
downloadhdf5-179b4a0d45cdafcc385c7edec81a70633431893d.zip
hdf5-179b4a0d45cdafcc385c7edec81a70633431893d.tar.gz
hdf5-179b4a0d45cdafcc385c7edec81a70633431893d.tar.bz2
Fix loading plugin fails with missing directory GH issue #3248 (#3323)
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;