[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master fbb5aac 2/3: Reinstate a temporary wine worka
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master fbb5aac 2/3: Reinstate a temporary wine workaround |
Date: |
Thu, 29 Apr 2021 12:32:39 -0400 (EDT) |
branch: master
commit fbb5aacf5eaf4150bd690addaae28e3cbb2acfb4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Reinstate a temporary wine workaround
Cf. commit 6d8e4f143e06 of 20210428T2348Z.
---
path_utility_test.cpp | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/path_utility_test.cpp b/path_utility_test.cpp
index 5f298de..d609163 100644
--- a/path_utility_test.cpp
+++ b/path_utility_test.cpp
@@ -299,8 +299,15 @@ void test_unique_filepath_with_ludicrous_filenames()
// called by unique_filepath() here, adding that extension to ".."
// yields "...." path, which won't work if it is actually used by msw,
// but is still allowed (although of course discouraged).
- fs::path path3 = unique_filepath(fs::path(".."), "..");
- LMI_TEST_EQUAL(path3.string(), "....");
+ if(running_under_wine())
+ {
+ std::cout << "TEST SKIPPED DUE TO A PRESUMED WINE DEFECT" << std::endl;
+ }
+ else
+ {
+ fs::path path3 = unique_filepath(fs::path(".."), "..");
+ LMI_TEST_EQUAL(path3.string(), "....");
+ }
}
void test_path_inserter()