]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/elf/linkerscript/invalid-script-cli-1.test
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / elf / linkerscript / invalid-script-cli-1.test
1 # Check that the -T/--script options issue an error when passed
2 # filenames for files that do not exist.
3
4 RUN: not lld -flavor gnu -target x86_64 -T idonotexist.ls 2> %t.err
5 RUN: FileCheck %s < %t.err
6
7 RUN: not lld -flavor gnu -target x86_64 --script=idonotexist.ls 2> %t.err
8 RUN: FileCheck %s < %t.err
9
10 CHECK: {{.*}}lld: cannot find file {{.*}}idonotexist.ls