1 # This test creates a thin archive in a directory and adds it to a thin archive
2 # in the parent directory. The relative path should be included when flattening
6 RUN: touch %t/foo/a.txt
7 RUN: rm -f %t/archive.a %t/foo/archive.a
9 # These tests must be run in the same directory as %t/archive.a. cd %t is
10 # included on each line to make debugging this test case easier.
11 RUN: cd %t && llvm-ar rcST foo/archive.a foo/a.txt
12 RUN: cd %t && llvm-ar rcST archive.a foo/archive.a
13 RUN: cd %t && llvm-ar t archive.a | FileCheck %s --match-full-lines