From 87a27f5239c8aebf87d310233bc195b43b9e0e21 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Mon, 5 Aug 2013 18:29:49 +0200 Subject: [PATCH] Comment out a quite useless test case if platform is not Windows, since getcwd() return the canonical path (resolving symlinks), while HOME may contains symlinks. --- Subtrees/beast/modules/beast_core/files/beast_File.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Subtrees/beast/modules/beast_core/files/beast_File.cpp b/Subtrees/beast/modules/beast_core/files/beast_File.cpp index 74c59eecd8..39c04b22ee 100644 --- a/Subtrees/beast/modules/beast_core/files/beast_File.cpp +++ b/Subtrees/beast/modules/beast_core/files/beast_File.cpp @@ -951,7 +951,9 @@ public: expect (! home.isOnCDRomDrive()); expect (File::getCurrentWorkingDirectory().exists()); expect (home.setAsCurrentWorkingDirectory()); + #if BEAST_WINDOWS expect (File::getCurrentWorkingDirectory() == home); + #endif { Array roots;