1 ## Test failing to write output file on non-windows platforms.
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-elf=%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
14 Target: { ObjectFormat: ELF, Arch: AArch64, Endianness: little, BitWidth: 64 }
18 # ERR: [[MSG]] when trying to open `{{.*}}.TestDir/Output.TestFile` for writing