changeset 959:f4fc739bbaaf

fixed handling of __DSTRESS_TORTURE_REQUIRE__
author thomask
date Fri, 14 Apr 2006 07:17:39 +0000
parents 80e1b85295b3
children ed4432c7776f
files dstress.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dstress.c	Thu Apr 13 07:34:32 2006 +0000
+++ b/dstress.c	Fri Apr 14 07:17:39 2006 +0000
@@ -1234,7 +1234,7 @@
 		for(index=0; index < sizeof(torture)/sizeof(char*); index++){
 			if((torture_block_global && strstr(torture[index], torture_block_global))
 				|| (torture_block_case && strstr(torture[index], torture_block_case))
-				|| (torture_block_case && !strstr(torture[index], torture_require)))
+				|| (torture_require && !strstr(torture[index], torture_require)))
 			{
 				torture_result[index]=RES_UNTESTED;
 				continue;