llvm-project/llvm/test/tools/llvm-ar/mri-delete.test

21 lines
555 B
Plaintext

RUN: yaml2obj %S/Inputs/elf.yaml -o %t.o
RUN: rm -f %t.ar
RUN: echo "create %t.ar;comment" > %t.mri
RUN: echo "addmod %t.o * comment" >> %t.mri
RUN: echo "; comment" >> %t.mri
RUN: echo " ;comment" >> %t.mri
RUN: echo "* comment" >> %t.mri
RUN: echo " *comment" >> %t.mri
RUN: echo "" >> %t.mri
RUN: echo " " >> %t.mri
RUN: echo "addmod %S/Inputs/elf.yaml" >> %t.mri
RUN: echo "delete %t.o" >> %t.mri
RUN: echo " save" >> %t.mri
RUN: echo "end" >> %t.mri
RUN: llvm-ar -M < %t.mri
RUN: llvm-ar tv %t.ar | FileCheck %s
CHECK-NOT: mri-delete.test{{.*}}.o