Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Willers
KWSys
Commits
ce55a255
Commit
ce55a255
authored
7 years ago
by
Matthias Männich
Browse files
Options
Downloads
Patches
Plain Diff
testSystemTools: fix some copy'n'paste issues
parent
73c491e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testSystemTools.cxx
+5
-5
5 additions, 5 deletions
testSystemTools.cxx
with
5 additions
and
5 deletions
testSystemTools.cxx
+
5
−
5
View file @
ce55a255
...
...
@@ -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: "
<<
testNew
Dir
<<
std
::
endl
;
std
::
cerr
<<
"Problem with FileExists for: "
<<
testNew
File
<<
std
::
endl
;
res
=
false
;
}
if
(
!
kwsys
::
SystemTools
::
FileExists
(
testNewFile
.
c_str
()))
{
std
::
cerr
<<
"Problem with FileExists as C string for: "
<<
testNew
Dir
std
::
cerr
<<
"Problem with FileExists as C string for: "
<<
testNew
File
<<
std
::
endl
;
res
=
false
;
}
if
(
!
kwsys
::
SystemTools
::
FileExists
(
testNewFile
,
true
))
{
std
::
cerr
<<
"Problem with FileExists as file for: "
<<
testNew
Dir
std
::
cerr
<<
"Problem with FileExists as file for: "
<<
testNew
File
<<
std
::
endl
;
res
=
false
;
}
if
(
!
kwsys
::
SystemTools
::
FileExists
(
testNewFile
.
c_str
(),
true
))
{
std
::
cerr
<<
"Problem with FileExists as C string and file for: "
<<
testNew
Dir
<<
std
::
endl
;
<<
testNew
File
<<
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: "
<<
testNew
Dir
<<
std
::
endl
;
std
::
cerr
<<
"Problem with PathExists for: "
<<
testNew
File
<<
std
::
endl
;
res
=
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment