Fixed a bug in testpar/t_cache.c concerning checking expected
vs. actual cache entry reads and writes.
This commit is contained in:
committed by
David Young
parent
9f5444199e
commit
2c520b2ba6
@@ -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 ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user