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.
This commit is contained in:
Alex Dupre
2013-08-05 18:29:49 +02:00
committed by Vinnie Falco
parent 3e5b0836a9
commit 87a27f5239

View File

@@ -951,7 +951,9 @@ public:
expect (! home.isOnCDRomDrive()); expect (! home.isOnCDRomDrive());
expect (File::getCurrentWorkingDirectory().exists()); expect (File::getCurrentWorkingDirectory().exists());
expect (home.setAsCurrentWorkingDirectory()); expect (home.setAsCurrentWorkingDirectory());
#if BEAST_WINDOWS
expect (File::getCurrentWorkingDirectory() == home); expect (File::getCurrentWorkingDirectory() == home);
#endif
{ {
Array<File> roots; Array<File> roots;