summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-16 15:39:01 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-16 15:39:01 (GMT)
commit16ebd9f6152fedd1804f13c91ed14e8963e53d3f (patch)
treea29304959eb94ee499148f7436e161e5a02fb262 /Source/kwsys/testSystemTools.cxx
parent6b05e028f1a3afc7906908bd48d58993da02a9d9 (diff)
parent7be70ca6cc888df532d2f1560e74d13642730ee5 (diff)
downloadCMake-16ebd9f6152fedd1804f13c91ed14e8963e53d3f.zip
CMake-16ebd9f6152fedd1804f13c91ed14e8963e53d3f.tar.gz
CMake-16ebd9f6152fedd1804f13c91ed14e8963e53d3f.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2017-05-16 (fe1f22ce)
Diffstat (limited to 'Source/kwsys/testSystemTools.cxx')
-rw-r--r--Source/kwsys/testSystemTools.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx
index d11bcae..900894c 100644
--- a/Source/kwsys/testSystemTools.cxx
+++ b/Source/kwsys/testSystemTools.cxx
@@ -35,7 +35,6 @@
typedef unsigned short mode_t;
#endif
-//----------------------------------------------------------------------------
static const char* toUnixPaths[][2] = {
{ "/usr/local/bin/passwd", "/usr/local/bin/passwd" },
{ "/usr/lo cal/bin/pa sswd", "/usr/lo cal/bin/pa sswd" },
@@ -67,7 +66,6 @@ static bool CheckConvertToUnixSlashes(std::string input, std::string output)
return true;
}
-//----------------------------------------------------------------------------
static const char* checkEscapeChars[][4] = { { "1 foo 2 bar 2", "12", "\\",
"\\1 foo \\2 bar \\2" },
{ " {} ", "{}", "#", " #{#} " },
@@ -86,7 +84,6 @@ static bool CheckEscapeChars(std::string input, const char* chars_to_escape,
return true;
}
-//----------------------------------------------------------------------------
static bool CheckFileOperations()
{
bool res = true;
@@ -469,7 +466,6 @@ static bool CheckFileOperations()
return res;
}
-//----------------------------------------------------------------------------
static bool CheckStringOperations()
{
bool res = true;
@@ -613,8 +609,6 @@ static bool CheckStringOperations()
return res;
}
-//----------------------------------------------------------------------------
-
static bool CheckPutEnv(const std::string& env, const char* name,
const char* value)
{
@@ -842,7 +836,6 @@ static bool CheckGetLineFromStream()
return ret;
}
-//----------------------------------------------------------------------------
int testSystemTools(int, char* [])
{
bool res = true;