[test] Fix reproduce-blackslash.s test with NetBSD tar
authorMichal Gorny <mgorny@gentoo.org>
Fri, 7 Dec 2018 18:57:09 +0000 (18:57 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Fri, 7 Dec 2018 18:57:09 +0000 (18:57 +0000)
commit80c32f05a7f69796a8e8be12d681c4a0faec430a
tree686502566f566e508b87d4e062a65f81eb8beefd
parentbc47ff86fec7ecc4139a1bb17aaf50632ca43aa7
[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
lld/test/ELF/reproduce-backslash.s