summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test
diff options
context:
space:
mode:
authorOwen Reynolds <gbreynoo@gmail.com>2019-06-03 15:26:07 +0000
committerOwen Reynolds <gbreynoo@gmail.com>2019-06-03 15:26:07 +0000
commitfade9cbed76343c1e63657c4d425d3c47b0d73bf (patch)
tree69c8445c92630c2ad783aeacd08f18d71a45b038 /llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test
parentdab879d7c805562debea149e6d2c17839405c71b (diff)
downloadbcm5719-llvm-fade9cbed76343c1e63657c4d425d3c47b0d73bf.tar.gz
bcm5719-llvm-fade9cbed76343c1e63657c4d425d3c47b0d73bf.zip
[llvm-ar] Fix relative thin archive path handling
This fixes some thin archive relative path issues, paths are shortened where possible and paths are output correctly when using the display table command. Differential Revision: https://reviews.llvm.org/D59491 llvm-svn: 362407
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test b/llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test
index 6540b630f7d..39a6597a83b 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/archive-unknown-members.test
@@ -23,10 +23,10 @@
# RUN: llvm-ar rcT %t.thin1.a %t1.o %s
# RUN: llvm-ar rcT %t.thin2.a %t2.o %s
-# RUN: not llvm-objcopy --strip-debug %t.thin1.a 2>&1 \
-# RUN: | FileCheck %s --check-prefix=THIN -DARCHIVE=%t.thin1.a -DMEMBER=%s
-# RUN: not llvm-strip --strip-debug %t.thin2.a 2>&1 \
-# RUN: | FileCheck %s --check-prefix=THIN -DARCHIVE=%t.thin2.a -DMEMBER=%s
+# RUN: not llvm-objcopy --strip-debug %/t.thin1.a 2>&1 \
+# RUN: | FileCheck %s --check-prefix=THIN -DARCHIVE=%/t.thin1.a -DMEMBER=%/s
+# RUN: not llvm-strip --strip-debug %/t.thin2.a 2>&1 \
+# RUN: | FileCheck %s --check-prefix=THIN -DARCHIVE=%/t.thin2.a -DMEMBER=%/s
## Verify that the first member was not modified, if a later member could not
## be recognized.
# RUN: cmp %t.o %t1.o
OpenPOWER on IntegriCloud