[lld-macho,test] Avoid writing to CWD

Don't write to `filelist` in the current working directory, whigh might
be read-only in some testing environmens.
This commit is contained in:
Fangrui Song
2024-07-25 15:12:39 -07:00
parent 8dd574236c
commit 364ee4ee36

View File

@@ -3,7 +3,7 @@
## This test verifies that the paths in -filelist get processed in command-line
## order.
# RUN: rm -rf %t; split-file %s %t
# RUN: rm -rf %t; split-file %s %t && cd %t
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/first.s -o %t/first.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/second.s -o %t/second.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/test.s -o %t/test.o