From ce55a255b6d1c7ed9a0f658e6e7ff7f8d13152b3 Mon Sep 17 00:00:00 2001 From: Matthias Maennich <matthias@maennich.net> Date: Thu, 5 Oct 2017 14:13:24 +0200 Subject: [PATCH] testSystemTools: fix some copy'n'paste issues --- testSystemTools.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testSystemTools.cxx b/testSystemTools.cxx index 768eb4d1..3b694c90 100644 --- a/testSystemTools.cxx +++ b/testSystemTools.cxx @@ -254,22 +254,22 @@ static bool CheckFileOperations() } // should work, was created as new file before if (!kwsys::SystemTools::FileExists(testNewFile)) { - std::cerr << "Problem with FileExists for: " << testNewDir << std::endl; + std::cerr << "Problem with FileExists for: " << testNewFile << std::endl; res = false; } if (!kwsys::SystemTools::FileExists(testNewFile.c_str())) { - std::cerr << "Problem with FileExists as C string for: " << testNewDir + std::cerr << "Problem with FileExists as C string for: " << testNewFile << std::endl; res = false; } if (!kwsys::SystemTools::FileExists(testNewFile, true)) { - std::cerr << "Problem with FileExists as file for: " << testNewDir + std::cerr << "Problem with FileExists as file for: " << testNewFile << std::endl; res = false; } if (!kwsys::SystemTools::FileExists(testNewFile.c_str(), true)) { std::cerr << "Problem with FileExists as C string and file for: " - << testNewDir << std::endl; + << testNewFile << std::endl; res = false; } @@ -285,7 +285,7 @@ static bool CheckFileOperations() } // should work, was created as new file before if (!kwsys::SystemTools::PathExists(testNewFile)) { - std::cerr << "Problem with PathExists for: " << testNewDir << std::endl; + std::cerr << "Problem with PathExists for: " << testNewFile << std::endl; res = false; } -- GitLab