We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93eac74 commit b102b37Copy full SHA for b102b37
llvm/test/tools/llvm-reduce/fail-output-file.test
@@ -1,7 +1,7 @@
1
# Python on an empty file will always succeed as interesting
2
# RUN: touch %t
3
4
-# Fail on attempt to write to output directory
5
-# RUN: not llvm-reduce --delta-passes=instructions -o %s/CannotOpenFile --test %python --test-arg %t %p/Inputs/test-output-format.ll 2>&1 | FileCheck %s
+# Fail on attempt to write output to a directory
+# RUN: not llvm-reduce --delta-passes=instructions -o %p/Inputs --test %python --test-arg %t %p/Inputs/test-output-format.ll 2>&1 | FileCheck -DMSG=%errc_EISDIR %s
6
7
-# CHECK: error: opening output file: Not a directory
+# CHECK: error: opening output file: [[MSG]]
0 commit comments