llvm-for-llvmta/test/tools/llvm-elfabi/fail-file-write-windows.test

17 lines
395 B
Plaintext

## Test failing to write output file on windows platform.
# REQUIRES: system-windows
# RUN: touch %t.TestFile
# RUN: chmod 400 %t.TestFile
# RUN: not llvm-elfabi %s --output-target=elf64-little %t.TestFile 2>&1 | FileCheck %s --check-prefix=ERR
# RUN: chmod 777 %t.TestFile
# RUN: rm -rf %t.TestFile
--- !tapi-tbe
TbeVersion: 1.0
Arch: AArch64
Symbols: {}
...
# ERR: error: permission denied