Browse Source

BUG: fix REMOVE test

Bill Hoffman 22 years ago
parent
commit
62314ea808

+ 1 - 1
Tests/Complex/Executable/complex.cxx

@@ -798,7 +798,7 @@ int main()
 
   // ----------------------------------------------------------------------
   // Test REMOVE command
-  if (strcmp("a;b;d",REMOVE_STRING))
+  if (strcmp("a;b;d",REMOVE_STRING) == 0)
     {
     cmPassed("REMOVE is working");
     }

+ 1 - 1
Tests/ComplexOneConfig/Executable/complex.cxx

@@ -798,7 +798,7 @@ int main()
 
   // ----------------------------------------------------------------------
   // Test REMOVE command
-  if (strcmp("a;b;d",REMOVE_STRING))
+  if (strcmp("a;b;d",REMOVE_STRING) == 0)
     {
     cmPassed("REMOVE is working");
     }

+ 1 - 1
Tests/ComplexRelativePaths/Executable/complex.cxx

@@ -798,7 +798,7 @@ int main()
 
   // ----------------------------------------------------------------------
   // Test REMOVE command
-  if (strcmp("a;b;d",REMOVE_STRING))
+  if (strcmp("a;b;d",REMOVE_STRING) == 0)
     {
     cmPassed("REMOVE is working");
     }