summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-03-21 16:33:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-03-21 16:33:30 (GMT)
commit62314ea808ead384c72a17a29b1d5d04fb9dd647 (patch)
treec470d235eac832cd66406b291c3203a0a91fb680 /Tests
parent0a29ebad97ec1b63c7f452baef0ec2b050158f45 (diff)
downloadCMake-62314ea808ead384c72a17a29b1d5d04fb9dd647.zip
CMake-62314ea808ead384c72a17a29b1d5d04fb9dd647.tar.gz
CMake-62314ea808ead384c72a17a29b1d5d04fb9dd647.tar.bz2
BUG: fix REMOVE test
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");
}