[binutils-gdb] readelf: rename recently added testsuite files

Jan Beulich jbeulich@sourceware.org
Tue Jun 18 11:23:51 GMT 2024


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.


More information about the Binutils-cvs mailing list