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 3# the archive. 4 5RUN: mkdir -p %t/foo 6RUN: touch %t/foo/a.txt 7RUN: rm -f %t/archive.a %t/foo/archive.a 8 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. 11RUN: cd %t && llvm-ar rcST foo/archive.a foo/a.txt 12RUN: cd %t && llvm-ar rcST archive.a foo/archive.a 13RUN: cd %t && llvm-ar t archive.a | FileCheck %s --match-full-lines 14 15CHECK: foo/a.txt 16