aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-06-18 13:23:36 +0200
committerJan Beulich <jbeulich@suse.com>2024-06-18 13:23:36 +0200
commit28c812b34906c058a599924cc6ef399726c22cb9 (patch)
treef4cdb91c1a66a1d74b01b509c7f250932adc76b7
parentc2db2b8a377bd6838cbd668ae12cce835a180093 (diff)
downloadgdb-28c812b34906c058a599924cc6ef399726c22cb9.zip
gdb-28c812b34906c058a599924cc6ef399726c22cb9.tar.gz
gdb-28c812b34906c058a599924cc6ef399726c22cb9.tar.bz2
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.
-rw-r--r--binutils/testsuite/binutils-all/display-section-0.r (renamed from binutils/testsuite/binutils-all/display-section.0)0
-rw-r--r--binutils/testsuite/binutils-all/display-section-rel.r (renamed from binutils/testsuite/binutils-all/display-section.r)0
-rw-r--r--binutils/testsuite/binutils-all/readelf.exp4
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
index 80d9744..80d9744 100644
--- a/binutils/testsuite/binutils-all/display-section.0
+++ b/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
index 2d22bdc..2d22bdc 100644
--- a/binutils/testsuite/binutils-all/display-section.r
+++ b/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 9f20cb4..dab66eb 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.