diff --git a/test/Misc/dev-fd-fs.c b/test/Misc/dev-fd-fs.c
index e35486ebe29a23581512797a3ee914b49419af6d..2bc4f291a216ceaac496ddb53a4bef0195b87c53 100644
--- a/test/Misc/dev-fd-fs.c
+++ b/test/Misc/dev-fd-fs.c
@@ -1,6 +1,8 @@
 // Check that we can operate on files from /dev/fd.
 // REQUIRES: dev-fd-fs
 
+// It has not been working since r169831 on freebsd.
+// XFAIL: freebsd
 
 // Check reading from named pipes. We cat the input here instead of redirecting
 // it to ensure that /dev/fd/0 is a named pipe, not just a redirected file.