improved tests

This commit is contained in:
Jeff Hill
2009-07-18 02:42:05 +00:00
parent f936104e47
commit 02281f4d19

View File

@@ -2657,9 +2657,9 @@ void verifyImmediateTearDown ( const char * pName,
SEVCHK ( status, "immediate tear down channel get failed" );
status = ca_pend_io ( timeoutToPendIO );
SEVCHK ( status, "immediate tear down channel get failed" );
if ( currentValue != ( (i + 1) % 8 ) ) {
if ( currentValue != ( (i - 1) % 8 ) ) {
printf ( "currentValue = %i, i = %i\n", currentValue, i );
assert ( currentValue == ( (i + 1) % 2 ) );
assert ( currentValue == ( (i - 1) % 8 ) );
}
}
status = ca_put ( DBR_LONG, chan, & value );