summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/Executable/complex.cxx2
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx2
-rw-r--r--Tests/ComplexRelativePaths/Executable/complex.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 2679722..208e9fd 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/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");
}
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index 2679722..208e9fd 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/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");
}
diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx
index 2679722..208e9fd 100644
--- a/Tests/ComplexRelativePaths/Executable/complex.cxx
+++ b/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");
}