diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-01-14 14:19:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 14:19:48 (GMT) |
commit | 0d8529055da9ab23162e698309cc6da1dd93f99e (patch) | |
tree | d89353233b2c5c396578fdb47268072a83fcfa09 /test | |
parent | b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8 (diff) | |
download | hdf5-0d8529055da9ab23162e698309cc6da1dd93f99e.zip hdf5-0d8529055da9ab23162e698309cc6da1dd93f99e.tar.gz hdf5-0d8529055da9ab23162e698309cc6da1dd93f99e.tar.bz2 |
Removes lock/unlock callbacks from ros3 and hdfs VFDs (#258)
* Removes no-op callback stubs from read-only VFDs
Also changes VFD registration to allow read-only VFDs with no
write callback to be registered.
* Adds a RELEASE.txt note for HDFFV-11205
For the read-only VFD registration change
* Revert "Removes no-op callback stubs from read-only VFDs"
This reverts commit a7a95497305d64d2de783fdb0e3186a532446a4a.
* Removes lock callbacks from ros3 and hdfs VFDs
Diffstat (limited to 'test')
-rw-r--r-- | test/hdfs.c | 9 | ||||
-rw-r--r-- | test/ros3.c | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/test/hdfs.c b/test/hdfs.c index 4121f15..e824c48 100644 --- a/test/hdfs.c +++ b/test/hdfs.c @@ -1430,15 +1430,6 @@ test_noops_and_autofails(void) H5E_BEGIN_TRY{ JSVERIFY(FAIL, H5FDtruncate(file, H5P_DEFAULT, TRUE), "truncate must fail (closing)")} H5E_END_TRY; - /* no-op calls to `lock()` and `unlock()` - */ - JSVERIFY(SUCCEED, H5FDlock(file, TRUE), "lock always succeeds; has no effect") - JSVERIFY(SUCCEED, H5FDlock(file, FALSE), "lock issue") - JSVERIFY(SUCCEED, H5FDunlock(file), "unlock issue") - /* Lock/unlock with null file or similar error crashes tests. - * HDassert in calling heirarchy, `H5FD[un]lock()` and `H5FD_[un]lock()` - */ - /************ * TEARDOWN * ************/ diff --git a/test/ros3.c b/test/ros3.c index 654082b..e577ce0 100644 --- a/test/ros3.c +++ b/test/ros3.c @@ -1426,15 +1426,6 @@ test_noops_and_autofails(void) H5E_BEGIN_TRY{ JSVERIFY(FAIL, H5FDtruncate(file, H5P_DEFAULT, TRUE), "truncate must fail (closing)")} H5E_END_TRY; - /* no-op calls to `lock()` and `unlock()` - */ - JSVERIFY(SUCCEED, H5FDlock(file, TRUE), "lock always succeeds; has no effect") - JSVERIFY(SUCCEED, H5FDlock(file, FALSE), NULL) - JSVERIFY(SUCCEED, H5FDunlock(file), NULL) - /* Lock/unlock with null file or similar error crashes tests. - * HDassert in calling heirarchy, `H5FD[un]lock()` and `H5FD_[un]lock()` - */ - /************ * TEARDOWN * ************/ |