Skip to content

Commit 364ee4e

Browse files
committed
[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.
1 parent 8dd5742 commit 364ee4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/test/MachO/filelist.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## This test verifies that the paths in -filelist get processed in command-line
44
## order.
55

6-
# RUN: rm -rf %t; split-file %s %t
6+
# RUN: rm -rf %t; split-file %s %t && cd %t
77
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/first.s -o %t/first.o
88
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/second.s -o %t/second.o
99
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/test.s -o %t/test.o

0 commit comments

Comments
 (0)