[PATCH] D72357: Fix llvm-objcopy when directory contains "bar".

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 12:10:44 PST 2020


jlebar created this revision.
Herald added subscribers: llvm-commits, abrachet, MaskRay, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.

My home directory, "/Users/jlebar", appears in the output of many tools.
Tests which naively check that "bar" does not appear in a tools' output
will fail for me.

I've "fixed" two llvm-objcopy tests here.   It's pretty hacky, and if
anyone has "barrr" in their username, they'll hit the same problem.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72357

Files:
  llvm/test/tools/llvm-objcopy/ELF/only-section-strip-undefined.test
  llvm/test/tools/llvm-objcopy/ELF/tail-merged-string-tables.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72357.236663.patch
Type: text/x-patch
Size: 4281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200107/858a7163/attachment.bin>


More information about the llvm-commits mailing list