diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2023-08-28 12:42:23 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-08-28 14:06:43 -0700 |
| commit | 2dddc87214503199a38beeb175cd42cbb43cdff1 (patch) | |
| tree | ca6109cc31cb86e167a312a303b791aa303bcc43 /tests | |
| parent | test: omit unreachable code (diff) | |
| download | coreutils-2dddc87214503199a38beeb175cd42cbb43cdff1.tar.gz coreutils-2dddc87214503199a38beeb175cd42cbb43cdff1.zip | |
maint: spelling fixes, including author names
Most of this just affects commentary and documentations. The only
significant behavior change is translating author names via
proper_name_lite rather than proper_name_utf8, or not translating
them at all. proper_name_lite is good enough for coreutils and
avoids the bloat that had coreutils not using Gnulib proper_name.
* bootstrap.conf (gnulib_modules): Use propername-lite instead
of propername.
(XGETTEXT_OPTIONS): Look for proper_name_lite instead of for
proper_name_utf8.
* cfg.mk (local-checks-to-skip): Remove
sc_proper_name_utf8_requires_ICONV, since we no longer use
proper_name_utf8.
(old_NEWS_hash): Update.
(sc_check-I18N-AUTHORS): Remove; no longer needed.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/chown/separator.sh | 2 | ||||
| -rwxr-xr-x | tests/cp/preserve-link.sh | 2 | ||||
| -rwxr-xr-x | tests/csplit/csplit-suppress-matched.pl | 2 | ||||
| -rwxr-xr-x | tests/df/df-output.sh | 2 | ||||
| -rwxr-xr-x | tests/df/no-mtab-status.sh | 2 | ||||
| -rwxr-xr-x | tests/env/env-S.pl | 4 | ||||
| -rwxr-xr-x | tests/expr/expr-multibyte.pl | 2 | ||||
| -rw-r--r-- | tests/local.mk | 2 | ||||
| -rwxr-xr-x | tests/ls/color-ext.sh | 2 | ||||
| -rwxr-xr-x | tests/ls/ls-misc.pl | 2 | ||||
| -rwxr-xr-x | tests/ls/zero-option.sh | 2 | ||||
| -rwxr-xr-x | tests/misc/tee.sh | 2 | ||||
| -rwxr-xr-x | tests/ptx/ptx-overrun.sh | 2 | ||||
| -rwxr-xr-x | tests/rm/r-root.sh | 2 | ||||
| -rwxr-xr-x | tests/rm/rm-readdir-fail.sh | 2 | ||||
| -rwxr-xr-x | tests/rmdir/ignore.sh | 2 | ||||
| -rwxr-xr-x | tests/seq/seq.pl | 2 | ||||
| -rwxr-xr-x | tests/shuf/shuf.sh | 2 | ||||
| -rwxr-xr-x | tests/sort/sort-stale-thread-mem.sh | 4 |
19 files changed, 21 insertions, 21 deletions
diff --git a/tests/chown/separator.sh b/tests/chown/separator.sh index 2631b123b..7901cf81a 100755 --- a/tests/chown/separator.sh +++ b/tests/chown/separator.sh @@ -34,7 +34,7 @@ test -n "$id_gn" || framework_failure_ # Systems with both local and external groups with conflicting IDs, # were seen to fail this test erroneously with EPERM errors. test $(getent group | grep "^$id_gn:" | wc -l) = 1 || - skip_ "group '$id_gn' not biunique: " \ + skip_ "group '$id_gn' not unique: " \ "$(getent group | grep "^$id_gn:" | tr '\n' ',')" # FreeBSD 6.x's getgrnam fails to look up a group name containing diff --git a/tests/cp/preserve-link.sh b/tests/cp/preserve-link.sh index eb83b0f2b..83b34675a 100755 --- a/tests/cp/preserve-link.sh +++ b/tests/cp/preserve-link.sh @@ -72,7 +72,7 @@ create_target_tree() # The path taken by cp is dependent on which cp encounters # first in the source, which is non deterministic currently # (I'm guessing that results are sorted by inode and -# beauses they're the same here, and due to the sort +# because they're the same here, and due to the sort # being unstable, either can be processed first). create_source_tree diff --git a/tests/csplit/csplit-suppress-matched.pl b/tests/csplit/csplit-suppress-matched.pl index b2c1a7039..80db7fc6f 100755 --- a/tests/csplit/csplit-suppress-matched.pl +++ b/tests/csplit/csplit-suppress-matched.pl @@ -126,7 +126,7 @@ my @csplit_tests = =pod -The following loop translate the above @Tests to a Cureutils::run_tests() +The following loop translate the above @Tests to a Coreutils::run_tests() compatible structure. It converts "OUTPUTS" key into "CMP" + "POST" keys: 1. Each element in the OUTPUTS key is expected to be an output file from csplit (named xx00, xx01, xx02...) diff --git a/tests/df/df-output.sh b/tests/df/df-output.sh index 2fda3a788..6ec601914 100755 --- a/tests/df/df-output.sh +++ b/tests/df/df-output.sh @@ -59,7 +59,7 @@ EOF df --output=target,source,target '.' 2>out && fail=1 compare exp out || fail=1 -# Ensure that this limitation also works for splitted --output options. +# Ensure that this limitation also works for split --output options. df --out=target,source --out=target '.' 2>out && fail=1 compare exp out || fail=1 diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index c9b71d01e..fbc8d0aaa 100755 --- a/tests/df/no-mtab-status.sh +++ b/tests/df/no-mtab-status.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Test df's behaviour when the mount list cannot be read. +# Test df's behavior when the mount list cannot be read. # This test is skipped on systems that lack LD_PRELOAD support; that's fine. # Copyright (C) 2012-2023 Free Software Foundation, Inc. diff --git a/tests/env/env-S.pl b/tests/env/env-S.pl index ad5e7ae00..710ca82cf 100755 --- a/tests/env/env-S.pl +++ b/tests/env/env-S.pl @@ -105,7 +105,7 @@ my @Tests = ['e14',q[-i -S"A='B\\\\\\"C' ]."$env\"", {OUT=>'A=B\"C'}], # Special escape sequences: - # \_ in duoble-quotes is a space - result is just one envvar 'A' + # \_ in double-quotes is a space - result is just one envvar 'A' ['e20', q[-i -S'A="B\_C=D" ]."$env'", {OUT=>'A=B C=D'}], # \_ outside double-quotes is arg separator, the command to # execute should be 'env env' @@ -123,7 +123,7 @@ my @Tests = # u3,u4: ${FOO} expanded by env itself before executing sh. # \\$FOO expanded by sh. # ${FOO} should have value of the original environment - # and \\$FOO should be unset, regardlss where -uFOO is used. + # and \\$FOO should be unset, regardless where -uFOO is used. # 'u3' behavior differs from FreeBSD's but deemed preferable, in # https://lists.gnu.org/r/coreutils/2018-04/msg00014.html ['u3', q[-uFOO -S'sh -c "echo x${FOO}x =\\$FOO="'], diff --git a/tests/expr/expr-multibyte.pl b/tests/expr/expr-multibyte.pl index d6703518f..4d763d687 100755 --- a/tests/expr/expr-multibyte.pl +++ b/tests/expr/expr-multibyte.pl @@ -171,7 +171,7 @@ my @Tests = # Character classes: in the multibyte case, the regex engine understands - # there is a single multibyte characeter in the brackets. + # there is a single multibyte character in the brackets. # In the single byte case, the regex engine sees two octets in the character # class ('\xCE' and '\xB1') - and it matches the first one. ['mb-m7', "match \xCE\xB1bc\xCE\xB4e '\\([\xCE\xB1]\\)'", {OUT=>"\xCE\xB1"}], diff --git a/tests/local.mk b/tests/local.mk index a7088afbc..b74a4a234 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -15,7 +15,7 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <https://www.gnu.org/licenses/>. -# Indirections required so that we'll still be able to know the +# Indirection required so that we'll still be able to know the # complete list of our tests even if the user overrides TESTS # from the command line (as permitted by the test harness API). TESTS = $(all_tests) $(factor_tests) diff --git a/tests/ls/color-ext.sh b/tests/ls/color-ext.sh index ab045ec6a..dbc0d0af5 100755 --- a/tests/ls/color-ext.sh +++ b/tests/ls/color-ext.sh @@ -29,7 +29,7 @@ c_jpg=$(printf '\033[%sm' $code_jpg) c_JPG=$(printf '\033[%sm' $code_JPG) c_z=$(printf '\033[%sm' $code_z) -# Case insenitive extensions +# Case insensitive extensions LS_COLORS="*.jpg=$code_jpg:*.Z=$code_z" ls -U1 --color=always \ img1.jpg IMG2.JPG file1.z file2.Z > out || fail=1 printf "$c0\ diff --git a/tests/ls/ls-misc.pl b/tests/ls/ls-misc.pl index ae75c18e8..f3f09c44d 100755 --- a/tests/ls/ls-misc.pl +++ b/tests/ls/ls-misc.pl @@ -240,7 +240,7 @@ my @Tests = ], # Test for a bug fixed after coreutils-8.13 - # where 'argetm' was errenously printed for dangling links + # where 'argetm' was erroneously printed for dangling links # when ln=target was used in LS_COLORS ['sl-dangle6', '-L --color=always d', {OUT => "s\n"}, diff --git a/tests/ls/zero-option.sh b/tests/ls/zero-option.sh index 6a53d6045..d3c9f0d18 100755 --- a/tests/ls/zero-option.sh +++ b/tests/ls/zero-option.sh @@ -21,7 +21,7 @@ print_ver_ ls mkdir dir && touch dir/a dir/b dir/cc || framework_failure_ -allowed_options='-l' # explict -l with --zero is allowed +allowed_options='-l' # explicit -l with --zero is allowed LC_ALL=C ls $allowed_options --zero dir >out || fail=1 grep '^total' out || fail=1 # Ensure -l honored diff --git a/tests/misc/tee.sh b/tests/misc/tee.sh index 444cb688a..3daf6107f 100755 --- a/tests/misc/tee.sh +++ b/tests/misc/tee.sh @@ -78,7 +78,7 @@ test $(wc -l < err) = 0 || { cat err; fail=1; } test -f tee.exited || fail=1 ;; esac -# Test with unwriteable files +# Test with unwritable files if ! uid_is_privileged_; then # root does not get EPERM. touch file.ro || framework_failure_ chmod a-w file.ro || framework_failure_ diff --git a/tests/ptx/ptx-overrun.sh b/tests/ptx/ptx-overrun.sh index 9b13ccc7d..cfd655f44 100755 --- a/tests/ptx/ptx-overrun.sh +++ b/tests/ptx/ptx-overrun.sh @@ -34,7 +34,7 @@ compare out empty || fail=1 # Trigger an invalid heap reference noticed by gcc -fsanitize=address # from coreutils-8.22 and earlier. As well as an invalid memory reference, -# the issue can be seen in the output, with non deterministice whitespace +# the issue can be seen in the output, with nondeterministic whitespace # trimming when multiple files are specified. printf '%s\n' 'This is a ptx whitespace Trimming test' > ws.in ptx ws.in ws.in | sort | uniq -u > out diff --git a/tests/rm/r-root.sh b/tests/rm/r-root.sh index b220be15a..d60c5e7fd 100755 --- a/tests/rm/r-root.sh +++ b/tests/rm/r-root.sh @@ -25,7 +25,7 @@ print_ver_ rm # enter the unlinkat() system call. Therefore, limit the risk as much # as possible -- if there's a bug this test would wipe the system out! -# Faint-hearted: skip this test for the 'root' user. +# Fainthearted: skip this test for the 'root' user. skip_if_root_ # Pull the teeth from rm(1) by intercepting the unlinkat() system call via the diff --git a/tests/rm/rm-readdir-fail.sh b/tests/rm/rm-readdir-fail.sh index 79ba8bee4..e68f2a53a 100755 --- a/tests/rm/rm-readdir-fail.sh +++ b/tests/rm/rm-readdir-fail.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Test rm's behaviour when the directory cannot be read. +# Test rm's behavior when the directory cannot be read. # This test is skipped on systems that lack LD_PRELOAD support. # Copyright (C) 2016-2023 Free Software Foundation, Inc. diff --git a/tests/rmdir/ignore.sh b/tests/rmdir/ignore.sh index ab6de394f..c0a00ee3a 100755 --- a/tests/rmdir/ignore.sh +++ b/tests/rmdir/ignore.sh @@ -40,7 +40,7 @@ fi test -d x/y || fail=1 # Between 6.11 and 8.31, the following rmdir would mistakenly fail, -# and also give a non descript error +# and also give a nondescript error touch x/y/z || framework_failure_ rmdir --ignore-fail-on-non-empty x/y || fail=1 test -d x/y || fail=1 diff --git a/tests/seq/seq.pl b/tests/seq/seq.pl index 2990fa57e..e7fc8ef12 100755 --- a/tests/seq/seq.pl +++ b/tests/seq/seq.pl @@ -72,7 +72,7 @@ my @Tests = ['eq-wid-6', qw(-w +1 2), {OUT => [qw(1 2)]}], ['eq-wid-7', qw(-w " .1" " .1"), {OUT => [qw(0.1)]}], ['eq-wid-8', qw(-w 9 0.5 10), {OUT => [qw(09.0 09.5 10.0)]}], - # Prior to 8.21, these tests involving numbers in scentific notation + # Prior to 8.21, these tests involving numbers in scientific notation # would fail with misalignment or wrong widths. ['eq-wid-9', qw(-w -1e-3 1), {OUT => [qw(-0.001 00.999)]}], ['eq-wid-10',qw(-w -1e-003 1), {OUT => [qw(-0.001 00.999)]}], diff --git a/tests/shuf/shuf.sh b/tests/shuf/shuf.sh index 57f9e38df..fd57dfe80 100755 --- a/tests/shuf/shuf.sh +++ b/tests/shuf/shuf.sh @@ -39,7 +39,7 @@ compare in out > /dev/null && { fail=1; echo "not random?" 1>&2; } sort -n out > out1 compare in out1 || { fail=1; echo "not a permutation" 1>&2; } -# Exercize shuf's -r -n 0 options, with no standard input. +# Exercise shuf's -r -n 0 options, with no standard input. shuf -r -n 0 in <&- >out || fail=1 compare /dev/null out || fail=1 diff --git a/tests/sort/sort-stale-thread-mem.sh b/tests/sort/sort-stale-thread-mem.sh index 482864e21..27d92c89c 100755 --- a/tests/sort/sort-stale-thread-mem.sh +++ b/tests/sort/sort-stale-thread-mem.sh @@ -33,8 +33,8 @@ grep '^#define HAVE_PTHREAD_T 1' "$CONFIG_HEADER" > /dev/null || seq -f %-98f 10000 | shuf > in || framework_failure_ -# On Fedora-17-beta (valgrind-3.7.0-2.fc17.x86_64), this evokes two -# "Conditional jump or move depends on uninitialised value(s)" errors, +# On Fedora-17-beta (valgrind-3.7.0-2.fc17.x86_64), this evokes two complaints +# that a conditional jump or move depends on uninitialized values, # each originating from _dl_start. valgrind --quiet --error-exitcode=3 sort --version > /dev/null || framework_failure_ 'valgrind fails for trivial sort invocation' |
