From 9702446d916b8664ac9c2fffafb124630ec2b4b9 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. --- modules/beast_core/files/beast_File.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/beast_core/files/beast_File.cpp b/modules/beast_core/files/beast_File.cpp index 74c59eecd..39c04b22e 100644 --- a/modules/beast_core/files/beast_File.cpp +++ b/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;