Subject: [PATCH] doc: typos from codespell.
From: Dimitri Papadopoulos <[email-masked]>
To: [email-masked]
Cc: Dimitri Papadopoulos <[email-masked]>
Date: Sun, 24 Dec 2023 12:55:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Dimitri Papadopoulos <[email-masked]>

* bin/automake.in: typo from codespell.
* configure.ac: likewise.
* t/dist-auxdir-many-subdirs.sh: likewise.
* t/instmany-mans.sh: likewise.
* t/instmany-python.sh: likewise.
* t/instmany.sh: likewise.
* t/nostdinc.sh: likewise.
* t/parallel-tests-fork-bomb.sh: likewise.
* t/rm-f-probe.sh: likewise.
* t/tap-basic.sh: likewise.
* t/test-driver-custom-multitest.sh: likewise.
* t/txinfo-vtexi3.sh: likewise.

Copyright-paperwork-exempt: yes
---
 bin/automake.in                   | 4 ++--
 configure.ac                      | 2 +-
 t/dist-auxdir-many-subdirs.sh     | 2 +-
 t/instmany-mans.sh                | 2 +-
 t/instmany-python.sh              | 2 +-
 t/instmany.sh                     | 2 +-
 t/nostdinc.sh                     | 6 +++---
 t/parallel-tests-fork-bomb.sh     | 4 ++--
 t/rm-f-probe.sh                   | 2 +-
 t/tap-basic.sh                    | 2 +-
 t/test-driver-custom-multitest.sh | 4 ++--
 t/txinfo-vtexi3.sh                | 2 +-
 12 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/bin/automake.in b/bin/automake.in
index 26c9f46b1..b91c43695 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -6465,7 +6465,7 @@ sub check_trailing_slash ($\$)
 # read_am_file ($AMFILE, $WHERE, $RELDIR)
 # ---------------------------------------
 # Read $AMFILE file name which is located in $RELDIR, and set up
-# global variables resetted by '&generate_makefile'.  Simultaneously
+# global variables reset by '&generate_makefile'.  Simultaneously
 # copy lines from $AMFILE into '$output_trailer', or define variables
 # as appropriate.
 #
@@ -7577,7 +7577,7 @@ sub push_required_file
     {
       push_dist_common ("$am_config_aux_dir/$file");
     }
-  # FIXME: another spacial case, for AC_LIBOBJ/AC_LIBSOURCE support.
+  # FIXME: another special case, for AC_LIBOBJ/AC_LIBSOURCE support.
   # We probably need some refactoring of this function and its callers,
   # to have a more explicit and systematic handling of all the special
   # cases; but, since there are only two of them, this is low-priority
diff --git a/configure.ac b/configure.ac
index e43ee13aa..0cda0eb9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -591,7 +591,7 @@ AC_OUTPUT
 # a development snapshot.
 # According to HACKING, the version of a development snapshot should
 # end with an "odd" letter (a, c, ...), the version of a test release
-# should end wit an "even" letter (b, d, ...).
+# should end with an "even" letter (b, d, ...).
 
 am_stable_version_rx='[[1-9]\.[0-9]+(\.[0-9]+)?]'
 am_beta_version_rx="[$am_stable_version_rx[bdfhjlnprtvxz]]"
diff --git a/t/dist-auxdir-many-subdirs.sh b/t/dist-auxdir-many-subdirs.sh
index 869241242..a44a316b4 100644
--- a/t/dist-auxdir-many-subdirs.sh
+++ b/t/dist-auxdir-many-subdirs.sh
@@ -43,7 +43,7 @@ do_check ()
     AC_CONFIG_AUX_DIR([$auxdir])
     AM_INIT_AUTOMAKE
     AC_PROG_CC
-    # We don't want to require python or emcas in this test, so
+    # We don't want to require python or emacs in this test, so
     # the tricks below.
     AM_PATH_PYTHON([2.2], [], [:])
     EMACS=no; AM_PATH_LISPDIR
diff --git a/t/instmany-mans.sh b/t/instmany-mans.sh
index 2fd9d7845..8c30550fa 100644
--- a/t/instmany-mans.sh
+++ b/t/instmany-mans.sh
@@ -72,7 +72,7 @@ chmod +x x-bin/'rm' x-bin/my-install
 
 cat >setenv.in <<'END'
 orig_INSTALL='@INSTALL@'
-# In case we've falled back on the install-sh script (seen e.g.,
+# In case we've fallen back on the install-sh script (seen e.g.,
 # on AIX 7.1), we need to make sure we use its absolute path,
 # as we don't know from which directory we'll be run.
 case "$orig_INSTALL" in
diff --git a/t/instmany-python.sh b/t/instmany-python.sh
index c97ab0979..b3cff6893 100644
--- a/t/instmany-python.sh
+++ b/t/instmany-python.sh
@@ -68,7 +68,7 @@ chmod +x x-bin/'rm' x-bin/my-install
 
 cat >setenv.in <<'END'
 orig_INSTALL='@INSTALL@'
-# In case we've falled back on the install-sh script (seen e.g.,
+# In case we've fallen back on the install-sh script (seen e.g.,
 # on AIX 7.1), we need to make sure we use its absolute path,
 # as we don't know from which directory we'll be run.
 case "$orig_INSTALL" in
diff --git a/t/instmany.sh b/t/instmany.sh
index 3066d780e..8b5229b51 100644
--- a/t/instmany.sh
+++ b/t/instmany.sh
@@ -80,7 +80,7 @@ chmod +x x-bin/'rm' x-bin/my-install
 
 cat >setenv.in <<'END'
 orig_INSTALL='@INSTALL@'
-# In case we've falled back on the install-sh script (seen e.g.,
+# In case we've fallen back on the install-sh script (seen e.g.,
 # on AIX 7.1), we need to make sure we use its absolute path,
 # as we don't know from which directory we'll be run.
 case "$orig_INSTALL" in
diff --git a/t/nostdinc.sh b/t/nostdinc.sh
index 603a81638..fe8fccddb 100644
--- a/t/nostdinc.sh
+++ b/t/nostdinc.sh
@@ -17,9 +17,9 @@
 # Test to make sure nostdinc option works correctly.
 
 # We don't require a C compiler explicitly, because the first part of the
-# test (where 'Makefile.in' is grepped) does not require one.  Insted, we
-# just skip the rest of the test if configure fails to find a working C
-# compiler.
+# test (where 'Makefile.in' is grepped) does not require one.  Instead,
+# we just skip the rest of the test if configure fails to find a working
+# C compiler.
 
 . test-init.sh
 
diff --git a/t/parallel-tests-fork-bomb.sh b/t/parallel-tests-fork-bomb.sh
index c7d9b90a0..44a613789 100644
--- a/t/parallel-tests-fork-bomb.sh
+++ b/t/parallel-tests-fork-bomb.sh
@@ -48,9 +48,9 @@ if IS_GNU_MAKE
 else !IS_GNU_MAKE
 
 # We use mkdir to detect the level of recursion, since it is easy
-# to use and assured to be portably atomical.  Also use an higher
+# to use and assured to be portably atomic.  Also use a higher
 # number than with GNU make above, since the level used here can
-# be incremented by tow or more per recursion.
+# be incremented by two or more per recursion.
 recursion-not-too-deep:
 	@ok=no; \
 	for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 \
diff --git a/t/rm-f-probe.sh b/t/rm-f-probe.sh
index 513438270..4eb01d94a 100644
--- a/t/rm-f-probe.sh
+++ b/t/rm-f-probe.sh
@@ -58,7 +58,7 @@ rm -f && exit 99 # Sanity check.
 ./configure
 grep '^am__rm_f_notfound = ""$' Makefile
 
-# Chagne the `rm -f` behavior to work.
+# Change the `rm -f` behavior to work.
 sed -e '/#DELETE/d' -e '/#CHANGE/s:1:0:' bin/rm > bin/rm.tmp
 cat bin/rm.tmp > bin/rm
 
diff --git a/t/tap-basic.sh b/t/tap-basic.sh
index 1ba1a4aef..1af60111e 100644
--- a/t/tap-basic.sh
+++ b/t/tap-basic.sh
@@ -34,7 +34,7 @@ END
 
 cat > Makefile.am << 'END'
 TEST_LOG_DRIVER = $(srcdir)/tap-driver
-## Defining LOG_COMPILER should work and not intefere with the
+## Defining LOG_COMPILER should work and not interfere with the
 ## tap-driver script.
 TEST_LOG_COMPILER = cat
 TESTS = success.test
diff --git a/t/test-driver-custom-multitest.sh b/t/test-driver-custom-multitest.sh
index c520f9b2e..2698be6ce 100644
--- a/t/test-driver-custom-multitest.sh
+++ b/t/test-driver-custom-multitest.sh
@@ -62,8 +62,8 @@ END
 cat > pass-fail.t << 'END'
 echo %% pass-fail %%
 echo 'FAIL: this fails :-('
-echo 'some randome message'
-echo 'some randome warning' >&2
+echo 'some random message'
+echo 'some random warning' >&2
 echo 'PASS: this passes :-)'
 echo 'INFO: blah'
 echo 'WARNING: blah blah' >&2
diff --git a/t/txinfo-vtexi3.sh b/t/txinfo-vtexi3.sh
index 254c5ea2b..3190bf975 100644
--- a/t/txinfo-vtexi3.sh
+++ b/t/txinfo-vtexi3.sh
@@ -58,7 +58,7 @@ END
 
 cat > zardoz.texi << 'END'
 @setfilename zardoz.info
-some randome text
+some random text
 @include vers1a_2b.texi
 more random text
 END
-- 
2.34.1