4 # RUN: mkdir -p %t.dir/build
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.dir/build/foo.o
6 # RUN: echo "INPUT(\"%t.dir/build/foo.o\")" > %t.dir/build/foo.script
7 # RUN: echo "INCLUDE \"%t.dir/build/bar.script\"" >> %t.dir/build/foo.script
8 # RUN: echo "/* empty */" > %t.dir/build/bar.script
10 # RUN: ld.lld build/foo.script -o /dev/null --reproduce repro.tar
11 # RUN: tar tf repro.tar | FileCheck -DPATH='%:t.dir' %s
13 # CHECK: [[PATH]]/build/foo.script
14 # CHECK: [[PATH]]/build/foo.o
15 # CHECK: [[PATH]]/build/bar.script