diff dstress.c @ 1003:ab5680607b8d

fixed GDB-Valgrind interaction
author thomask
date Fri, 19 May 2006 16:39:01 +0000
parents 69f95c134121
children d88a87712de1
line wrap: on
line diff
--- a/dstress.c	Thu May 18 16:07:06 2006 +0000
+++ b/dstress.c	Fri May 19 16:39:01 2006 +0000
@@ -1048,7 +1048,7 @@
 
 #ifdef REG_EXTENDED
 	if(((res==EXIT_SUCCESS && (modus & MODE_RUN))
-			||(res==EXIT_SUCCESS && (modus & MODE_RUN)))
+			||(res != EXIT_FAILURE && (modus & MODE_NORUN)))
 			&& gdb_script != NULL)
 	{
 		testResult = conditionalResult(buffer);