XFAIL close-stderr on win32
authorReid Kleckner <reid@kleckner.net>
Fri, 25 Jan 2013 22:12:54 +0000 (22:12 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 25 Jan 2013 22:12:54 +0000 (22:12 +0000)
The test runner does not rewrite instances of /dev/null inside the
quoted sh command.  /dev/null does not exist, so opt will fail to open
it, and return a non-zero exit code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173509 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/close-stderr.ll

index b310bc2c0424bfc5bc3a3183ada4bce0cafb721d..6e180cd1d898fe622ae5635a79440e62cc3c6883 100644 (file)
@@ -9,5 +9,8 @@
 ; XFAIL: vg_leak
 ; REQUIRES: shell
 
+; opt will fail to open /dev/null on native win32.
+; XFAIL: win32
+
 ; Test that the error handling when writing to stderr fails exits the
 ; program cleanly rather than aborting.