Fixed a bug in testpar/t_cache.c concerning checking expected

vs. actual cache entry reads and writes.
This commit is contained in:
Dana Robinson
2020-01-22 12:31:56 -08:00
committed by David Young
parent 9f5444199e
commit 2c520b2ba6

View File

@@ -4671,7 +4671,7 @@ verify_entry_reads(haddr_t addr,
}
}
if ( ! success ) {
if ( success ) {
if ( reported_entry_reads != expected_entry_reads ) {
@@ -4778,7 +4778,7 @@ verify_entry_writes(haddr_t addr,
}
}
if ( ! success ) {
if ( success ) {
if ( reported_entry_writes != expected_entry_writes ) {