* [binutils-gdb] readelf: rename recently added testsuite files
@ 2024-06-18 11:23 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2024-06-18 11:23 UTC (permalink / raw)
To: binutils-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=28c812b34906c058a599924cc6ef399726c22cb9
commit 28c812b34906c058a599924cc6ef399726c22cb9
Author: Jan Beulich <jbeulich@suse.com>
Date: Tue Jun 18 13:23:36 2024 +0200
readelf: rename recently added testsuite files
Files named *.0 are somewhat odd for testsuite expectations. Rename the
one such file to *.r with a suitable base name suffix, and have its
sibling follow suit in this latter regard.
Diff:
---
.../testsuite/binutils-all/{display-section.0 => display-section-0.r} | 0
.../binutils-all/{display-section.r => display-section-rel.r} | 0
binutils/testsuite/binutils-all/readelf.exp | 4 ++--
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/binutils/testsuite/binutils-all/display-section.0 b/binutils/testsuite/binutils-all/display-section-0.r
similarity index 100%
rename from binutils/testsuite/binutils-all/display-section.0
rename to binutils/testsuite/binutils-all/display-section-0.r
diff --git a/binutils/testsuite/binutils-all/display-section.r b/binutils/testsuite/binutils-all/display-section-rel.r
similarity index 100%
rename from binutils/testsuite/binutils-all/display-section.r
rename to binutils/testsuite/binutils-all/display-section-rel.r
diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
index 9f20cb42812..dab66ebb9ee 100644
--- a/binutils/testsuite/binutils-all/readelf.exp
+++ b/binutils/testsuite/binutils-all/readelf.exp
@@ -639,8 +639,8 @@ readelf_test -wi $tempfile dw5-op.W
# Test the -j/--display-section option.
# Check that multiple options accumulate.
# Check that both numbers and names can be used.
-readelf_test {-j .rela.debug_info --display-section=.rel.debug_info} $tempfile display-section.r
-readelf_test --display-section=0 $tempfile display-section.0
+readelf_test {-j .rela.debug_info --display-section=.rel.debug_info} $tempfile display-section-rel.r
+readelf_test --display-section=0 $tempfile display-section-0.r
# Test that RELR relocations are display correctly.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-18 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-18 11:23 [binutils-gdb] readelf: rename recently added testsuite files Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).