summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-22 20:31:56 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-22 20:31:56 (GMT)
commit4e00ee2916bf4091e64d1c6b89866f4895d44507 (patch)
tree1e584730c76d7e4aec11d31afa4287cbce26599c /testpar/t_cache.c
parentad8e79beece8ddea71715d3fd2634af12d78ca29 (diff)
downloadhdf5-4e00ee2916bf4091e64d1c6b89866f4895d44507.zip
hdf5-4e00ee2916bf4091e64d1c6b89866f4895d44507.tar.gz
hdf5-4e00ee2916bf4091e64d1c6b89866f4895d44507.tar.bz2
Fixed a bug in testpar/t_cache.c concerning checking expected
vs. actual cache entry reads and writes.
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index cde19fe..8763c12 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -4674,7 +4674,7 @@ verify_entry_reads(haddr_t addr,
}
}
- if ( ! success ) {
+ if ( success ) {
if ( reported_entry_reads != expected_entry_reads ) {
@@ -4781,7 +4781,7 @@ verify_entry_writes(haddr_t addr,
}
}
- if ( ! success ) {
+ if ( success ) {
if ( reported_entry_writes != expected_entry_writes ) {