mgorny created this revision. mgorny added reviewers: krytarowski, bkramer, ruiu, davide. mgorny added a project: lld. Herald added subscribers: llvm-commits, MaskRay, arichardson, emaste. Herald added a reviewer: espindola.
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. Repository: rLLD LLVM Linker https://reviews.llvm.org/D55441 Files: test/ELF/reproduce-backslash.s Index: test/ELF/reproduce-backslash.s =================================================================== --- test/ELF/reproduce-backslash.s +++ 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
Index: test/ELF/reproduce-backslash.s =================================================================== --- test/ELF/reproduce-backslash.s +++ 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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits