1## Test failing to write output file on non-windows platforms.
2
3# UNSUPPORTED: system-windows
4# RUN: rm -rf %t.TestDir
5# RUN: mkdir %t.TestDir
6# RUN: touch %t.TestDir/Output.TestFile
7# RUN: chmod 400 %t.TestDir
8# RUN: not llvm-ifs --output-format=ELF --output=%t.TestDir/Output.TestFile %s 2>&1 | FileCheck -DMSG=%errc_EACCES %s --check-prefix=ERR
9# RUN: chmod 777 %t.TestDir
10# RUN: rm -rf %t.TestDir
11
12--- !ifs-v1
13IfsVersion: 3.0
14Target: { ObjectFormat: ELF, Arch: AArch64, Endianness: little, BitWidth: 64 }
15Symbols: []
16...
17
18# ERR: [[MSG]] when trying to open `{{.*}}.TestDir/Output.TestFile` for writing
19