summaryrefslogtreecommitdiff
path: root/devel/cppcheck/files/patch-test_testpath.cpp
blob: 2b21c01bc0d4d44971890c931438a64e908fd935 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This test requires /proc to be mounted

--- test/testpath.cpp.orig	2023-06-22 09:07:56 UTC
+++ test/testpath.cpp
@@ -74,7 +74,9 @@ class TestPath : public TestFixture { (private)
     }
 
     void getCurrentExecutablePath() const {
+#ifndef __FreeBSD__
         ASSERT_EQUALS(false, Path::getCurrentExecutablePath("").empty());
+#endif
     }
 
     void isAbsolute() const {