aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/darwin-sdkroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/darwin-sdkroot.c')
-rw-r--r--test/Driver/darwin-sdkroot.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/darwin-sdkroot.c b/test/Driver/darwin-sdkroot.c
index b727fa6bb0ce..58bc683320ff 100644
--- a/test/Driver/darwin-sdkroot.c
+++ b/test/Driver/darwin-sdkroot.c
@@ -33,3 +33,10 @@
//
// It doesn't make sense on msys bash.
// REQUIRES: shell-preserves-root
+//
+// This test will fail with MSYS env.exe, since it does not preserve root,
+// expanding / into C:/MINGW/MSYS/1.0. To see the problem, from cmd.exe run:
+//
+// env SDKROOT=/ cmd //c echo %SDKROOT%
+//
+// This test passes using env.exe from GnuWin32.