1 ## Test llvm-ar errors when thin archive members are missing.
3 # RUN: rm -rf %t-archive.a
4 # RUN: echo contents > %t-temp.txt
6 ## File is not in archive.
7 # RUN: llvm-ar qT %t-archive.a
8 # RUN: not llvm-ar p %t-archive.a %t-temp.txt 2>&1 | FileCheck %s -DPATH=%t-temp.txt --check-prefix=MISSING
10 # MISSING: error: '[[PATH]]' was not found
12 ## File has been deleted.
13 # RUN: llvm-ar qT %t-archive.a %t-temp.txt
15 # RUN: not llvm-ar p %t-archive.a 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=DELETED
17 # DELETED: error: [[MSG]]