forked from OSchip/llvm-project
test: remove the archive before modifying it
The archive may already exist when not doing a clean test run. The dirty state can cause a test failure. Remove the archive first. llvm-svn: 286778
This commit is contained in:
parent
7091820a96
commit
25d7683fe7
|
@ -1,4 +1,5 @@
|
|||
RUN: echo -n abcd > %T/abcd
|
||||
RUN: rm -f %T/archive.a
|
||||
RUN: llvm-ar -format gnu crs %T/archive.a %T/abcd
|
||||
RUN: llvm-strings -f %T/archive.a | FileCheck %s
|
||||
RUN: llvm-strings --print-file-name %T/archive.a | FileCheck %s
|
||||
|
|
Loading…
Reference in New Issue