aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/reproduce-error.s
blob: e2de8a4feebaac93462bb215b44b0fcdd1f9b969 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Extracting the tar archive can get over the path limit on windows.
# REQUIRES: shell

# RUN: rm -rf %t.dir
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir

# RUN: not ld.lld --reproduce repro.tar abc -o t 2>&1 | FileCheck %s
# CHECK: cannot open abc: {{N|n}}o such file or directory

# RUN: tar xf repro.tar
# RUN: FileCheck --check-prefix=RSP %s < repro/response.txt
# RSP: abc
# RSP: -o t