From: "Dmitry V. Levin" <ldv@altlinux.org>
To: elfutils-devel@sourceware.org
Subject: [PATCH 11/12] tests: fix spelling typos in error diagnostics and comments
Date: Sat, 12 Dec 2020 19:52:43 +0300 [thread overview]
Message-ID: <20201212165243.GK503@altlinux.org> (raw)
In-Reply-To: <20201212164901.GA474@altlinux.org>
Cannnot -> Cannot
decriptors -> descriptors
experssions -> expressions
explit -> explicit
falg -> flag
irrelevent -> irrelevant
mininum -> minimum
outselves -> ourselves
proces -> process
versio -> version
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
tests/ChangeLog | 11 +++++++++++
tests/dwarf-die-addr-die.c | 2 +-
tests/dwfl-bug-fd-leak.c | 2 +-
tests/elfstrmerge.c | 4 ++--
tests/run-lfs-symbols.sh | 2 +-
tests/run-readelf-line.sh | 2 +-
tests/run-stack-demangled-test.sh | 2 +-
tests/sectiondump.c | 6 +++---
tests/varlocs.c | 2 +-
9 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/tests/ChangeLog b/tests/ChangeLog
index a3813ddc..2c83f690 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,14 @@
+2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
+
+ * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
+ * run-lfs-symbols.sh: Likewise.
+ * elfstrmerge.c (main): Fix spelling typos in comments.
+ * dwfl-bug-fd-leak.c: Likewise.
+ * run-readelf-line.sh: Likewise.
+ * run-stack-demangled-test.sh: Likewise.
+ * sectiondump.c (main): Likewise.
+ * varlocs.c (handle_die): Likewise.
+
2020-12-11 Dmitry V. Levin <ldv@altlinux.org>
* configure.ac: Remove.
diff --git a/tests/dwarf-die-addr-die.c b/tests/dwarf-die-addr-die.c
index 7899988f..24bfbeb7 100644
--- a/tests/dwarf-die-addr-die.c
+++ b/tests/dwarf-die-addr-die.c
@@ -164,7 +164,7 @@ main (int argc, char *argv[])
int fd = open (name, O_RDONLY);
if (fd < 0)
{
- printf ("Cannnot open '%s': %s\n", name, strerror (errno));
+ printf ("Cannot open '%s': %s\n", name, strerror (errno));
return -1;
}
diff --git a/tests/dwfl-bug-fd-leak.c b/tests/dwfl-bug-fd-leak.c
index b0913361..7554d6ec 100644
--- a/tests/dwfl-bug-fd-leak.c
+++ b/tests/dwfl-bug-fd-leak.c
@@ -1,4 +1,4 @@
-/* Test program for libdwfl file decriptors leakage.
+/* Test program for libdwfl file descriptors leakage.
Copyright (C) 2007, 2008 Red Hat, Inc.
This file is part of elfutils.
diff --git a/tests/elfstrmerge.c b/tests/elfstrmerge.c
index ba0d68df..abbdf3fd 100644
--- a/tests/elfstrmerge.c
+++ b/tests/elfstrmerge.c
@@ -332,7 +332,7 @@ main (int argc, char **argv)
if (unlikely (secndx == 0 || secndx == shdrstrndx || secndx >= shdrnum))
{
/* Don't use fail... too specialized messages. Call release
- outselves and then error. Ignores midx if widx is
+ ourselves and then error. Ignores midx if widx is
zero. */
release ();
if (widx == 0)
@@ -543,7 +543,7 @@ main (int argc, char **argv)
{
new_data_buf (newdata);
/* A section group contains Elf32_Words. The first
- word is a falg value, the rest of the words are
+ word is a flag value, the rest of the words are
indexes of the sections belonging to the group. */
Elf32_Word *group = (Elf32_Word *) data->d_buf;
Elf32_Word *newgroup = (Elf32_Word *) newdata->d_buf;
diff --git a/tests/run-lfs-symbols.sh b/tests/run-lfs-symbols.sh
index 7398e7f4..762a5d96 100755
--- a/tests/run-lfs-symbols.sh
+++ b/tests/run-lfs-symbols.sh
@@ -18,7 +18,7 @@
. $srcdir/test-subr.sh
if ! grep -q -F '#define _FILE_OFFSET_BITS' ${abs_top_builddir}/config.h; then
- echo "LFS testing is irrelevent on this system"
+ echo "LFS testing is irrelevant on this system"
exit 77
fi
diff --git a/tests/run-readelf-line.sh b/tests/run-readelf-line.sh
index a95e6aa9..eef50e9d 100755
--- a/tests/run-readelf-line.sh
+++ b/tests/run-readelf-line.sh
@@ -262,7 +262,7 @@ DWARF section [30] '.debug_line' at offset 0x15f6:
EOF
-# A .debug_line table with mininum instruction length > 1.
+# A .debug_line table with minimum instruction length > 1.
#
# = hello.c
# #include <stdio.h>
diff --git a/tests/run-stack-demangled-test.sh b/tests/run-stack-demangled-test.sh
index c26918f9..ac5bc617 100755
--- a/tests/run-stack-demangled-test.sh
+++ b/tests/run-stack-demangled-test.sh
@@ -24,7 +24,7 @@ fi
# See run-stack-d-test.sh and run-stack-i-test.sh
# Same tests, now with demangler support, no -r, and without -d.
-# Only change in output is an explit fu(int) instead of _Z2fui.
+# Only change in output is an explicit fu(int) instead of _Z2fui.
testfiles testfiledwarfinlines testfiledwarfinlines.core
diff --git a/tests/sectiondump.c b/tests/sectiondump.c
index f33484f9..661e6440 100644
--- a/tests/sectiondump.c
+++ b/tests/sectiondump.c
@@ -49,7 +49,7 @@ main (int argc, char *argv[])
if (fd == -1)
error (EXIT_FAILURE, errno, "cannot open input file `%s'", argv[1]);
- /* Set the library versio we expect. */
+ /* Set the library version we expect. */
elf_version (EV_CURRENT);
/* Create the ELF descriptor. */
@@ -58,7 +58,7 @@ main (int argc, char *argv[])
error (EXIT_FAILURE, 0, "cannot create ELF descriptor: %s",
elf_errmsg (0));
- /* Now proces all the sections mentioned in the rest of the command line. */
+ /* Now process all the sections mentioned in the rest of the command line. */
for (cnt = 2; cnt < argc; ++cnt)
if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0)
/* When we encounter an error stop immediately. */
@@ -116,7 +116,7 @@ handle_section (Elf *elf, Elf_Scn *scn)
if (data == NULL)
return 1;
- /* Now proces the different section types accordingly. */
+ /* Now process the different section types accordingly. */
switch (shdr->sh_type)
{
case SHT_SYMTAB:
diff --git a/tests/varlocs.c b/tests/varlocs.c
index 40505196..152c6555 100644
--- a/tests/varlocs.c
+++ b/tests/varlocs.c
@@ -1011,7 +1011,7 @@ handle_die (Dwarf_Die *die, int depth, bool outer_has_frame_base,
arg.entrypc = die_entrypc;
/* Whether this or the any outer DIE has a frame base. Used as
- sanity check when printing experssions that use DW_OP_fbreg. */
+ sanity check when printing expressions that use DW_OP_fbreg. */
bool die_has_frame_base = dwarf_hasattr (die, DW_AT_frame_base);
die_has_frame_base |= outer_has_frame_base;
has_frame_base = die_has_frame_base;
--
ldv
next prev parent reply other threads:[~2020-12-12 16:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-12 16:49 [PATCH 00/12] Fix spelling typos in comments, tests, and text files Dmitry V. Levin
2020-12-12 16:50 ` [PATCH 01/12] debuginfod: fix spelling typos in error diagnostics and comments Dmitry V. Levin
2020-12-12 16:50 ` [PATCH 02/12] backends: fix spelling typos in comments Dmitry V. Levin
2020-12-12 16:50 ` [PATCH 03/12] config: fix spelling typos in comments and %changelog Dmitry V. Levin
2020-12-12 16:50 ` [PATCH 04/12] libasm: fix spelling typos in comments Dmitry V. Levin
2020-12-12 16:50 ` [PATCH 05/12] libcpu: " Dmitry V. Levin
2020-12-12 16:51 ` [PATCH 06/12] libdw: fix spelling typos in comments and ChangeLog Dmitry V. Levin
2020-12-12 16:51 ` [PATCH 07/12] libdwelf: fix spelling typos in comments Dmitry V. Levin
2020-12-12 16:51 ` [PATCH 08/12] libdwfl: fix spelling typos in comments and ChangeLog Dmitry V. Levin
2020-12-12 16:52 ` [PATCH 09/12] libelf: fix spelling typos in comments Dmitry V. Levin
2020-12-12 16:52 ` [PATCH 10/12] src: fix spelling typos in comments and ChangeLog Dmitry V. Levin
2020-12-12 16:52 ` Dmitry V. Levin [this message]
2020-12-12 16:52 ` [PATCH 12/12] Fix spelling typos in NEWS, NOTES, TODO, and in comments of configure.ac Dmitry V. Levin
2020-12-12 17:17 ` [PATCH 00/12] Fix spelling typos in comments, tests, and text files Mark Wielaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201212165243.GK503@altlinux.org \
--to=ldv@altlinux.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).