Browse files

[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:
  • Loading branch information...
mgorny committed Dec 7, 2018
1 parent 4746fe8 commit 82e7a5352d02a22e07af13bf9f964ea1fb78d226
Showing with 1 addition and 1 deletion.
  1. +1 −1 lld/test/ELF/reproduce-backslash.s
@@ -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

0 comments on commit 82e7a53

Please sign in to comment.