XFAIL on windows too and document the XFAILs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186354 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Object/directory.ll b/test/Object/directory.ll
index 6bf4655..cb3fb58 100644
--- a/test/Object/directory.ll
+++ b/test/Object/directory.ll
@@ -1,7 +1,10 @@
;RUN: rm -f %T/test.a
;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s
;CHECK: .: Is a directory
-;XFAIL: freebsd
+
+; opening a directory works on freebsd. On windows we just get a
+; "permission denied"
+;XFAIL: freebsd, win32
;RUN: rm -f %T/test.a
;RUN: touch %T/a-very-long-file-name