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
parent ad8e79beec
commit 4e00ee2916

View File

@ -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 ) {