From 62314ea808ead384c72a17a29b1d5d04fb9dd647 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 21 Mar 2003 11:33:30 -0500 Subject: BUG: fix REMOVE test --- Tests/Complex/Executable/complex.cxx | 2 +- Tests/ComplexOneConfig/Executable/complex.cxx | 2 +- Tests/ComplexRelativePaths/Executable/complex.cxx | 2 +- 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"); } -- cgit v0.12