summaryrefslogtreecommitdiffstats
path: root/test/hdfs.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-01-14 14:19:48 (GMT)
committerGitHub <noreply@github.com>2021-01-14 14:19:48 (GMT)
commit0d8529055da9ab23162e698309cc6da1dd93f99e (patch)
treed89353233b2c5c396578fdb47268072a83fcfa09 /test/hdfs.c
parentb1eb47ac4dce3f5bd548fb3bee0f630679b1eee8 (diff)
downloadhdf5-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/hdfs.c')
-rw-r--r--test/hdfs.c9
1 files changed, 0 insertions, 9 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 *
************/