16 lines · plain
1# This test creates a thin archive in a directory and adds it to a thin archive2# in the parent directory. The relative path should be included when flattening3# the archive.4 5RUN: mkdir -p %t/foo6RUN: touch %t/foo/a.txt7RUN: rm -f %t/archive.a %t/foo/archive.a8 9# These tests must be run in the same directory as %t/archive.a. cd %t is10# included on each line to make debugging this test case easier.11RUN: cd %t && llvm-ar rcST foo/archive.a foo/a.txt12RUN: cd %t && llvm-ar rcST archive.a foo/archive.a13RUN: cd %t && llvm-ar t archive.a | FileCheck %s --match-full-lines14 15CHECK: foo/a.txt16