[test] Fix reproduce-blackslash.s test with NetBSD tar

Unlike GNU tar and libarchive bsdtar, NetBSD 'tar -t' output does not
use C-style escapes and instead outputs paths literally.  Fix the test
to account both for escaped and literal backslash output.

Differential Revision: https://reviews.llvm.org/D55441

llvm-svn: 348628
This commit is contained in:
Michal Gorny 2018-12-07 18:57:09 +00:00
parent bc47ff86fe
commit 80c32f05a7
1 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,4 @@
# RUN: ld.lld %T/foo\\.o --reproduce %T/repro.tar -o /dev/null
# RUN: tar tf %T/repro.tar | FileCheck %s
# CHECK: repro/{{.*}}/foo\\.o
# CHECK: repro/{{.*}}/foo\{{[\]?}}.o