diff --git a/lld/test/MachO/link-search-order.s b/lld/test/MachO/link-search-order.s index 3e8803b34498d6..26c88887ce7711 100644 --- a/lld/test/MachO/link-search-order.s +++ b/lld/test/MachO/link-search-order.s @@ -1,6 +1,7 @@ # REQUIRES: x86 ################ Place dynlib in %tD, and archive in %tA +# RUN: rm -rf %t %tA %tD # RUN: mkdir -p %t %tA %tD # # RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %p/Inputs/libhello.s -o %t/hello.o