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 <l...@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 <l...@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 <l...@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