From: Pádraig Brady
Date: Sun, 6 Nov 2016 21:34:12 +0000 (+0000) Subject: maint: misc tweaks to recent changes X-Git-Tag: v8.26~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23066be1b655fd81542761161c4f7ef37dc0813b;p=thirdparty%2Fcoreutils.git maint: misc tweaks to recent changes * doc/coreutils.texi(cut invocation): Give a more accurate description of cut field handling limitations. * tests/misc/stat-fmt.sh: Fix the test header to be more general. * tests/tail-2/retry.sh: Spellings. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 597cf76f0c..81101485c8 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -5864,7 +5864,7 @@ line that contains no delimiter character, unless the @option{--only-delimited} (@option{-s}) option is specified. Note @command{awk} supports more sophisticated field processing, -like reordering fields, and handling non fixed width fields. +like reordering fields, and handling fields aligned with blank characters. By default @command{awk} uses (and discards) runs of blank characters to separate fields, and ignores leading and trailing blanks. @example diff --git a/tests/misc/stat-fmt.sh b/tests/misc/stat-fmt.sh index 1245ddb9e9..45a276d136 100755 --- a/tests/misc/stat-fmt.sh +++ b/tests/misc/stat-fmt.sh @@ -1,5 +1,5 @@ #!/bin/sh -# ensure that stat properly handles a format string ending with % +# stat --format tests # Copyright (C) 2003-2016 Free Software Foundation, Inc. @@ -27,6 +27,7 @@ for i in $(seq 50); do test "$out" = "$fmt" || fail=1 done + # ensure QUOTING_STYLE is honored by %N touch "'" || framework_failure_ # Default since v8.25 diff --git a/tests/tail-2/retry.sh b/tests/tail-2/retry.sh index a4cff11e67..b764aa7f1b 100755 --- a/tests/tail-2/retry.sh +++ b/tests/tail-2/retry.sh @@ -134,7 +134,7 @@ grep -F 'cannot open' out || { fail=1; cat out; } grep -F 'no files remaining' out || { fail=1; cat out; } # === Test: -# Ensure that tail -F retries when the file is initally untailable. +# Ensure that tail -F retries when the file is initially untailable. mkdir untailable timeout 10 \ tail $mode $fastpoll -F untailable >out 2>&1 & pid=$!