summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-06 21:34:12 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-07 17:12:39 +0000
commit23066be1b655fd81542761161c4f7ef37dc0813b (patch)
treed5593bc2635971f671202cb3881d087818f02990 /tests
parent7ce2589b77d6f78548d6d025ab7d8f5a57199ef8 (diff)
downloadcoreutils-23066be1b655fd81542761161c4f7ef37dc0813b.tar.xz
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/stat-fmt.sh3
-rwxr-xr-xtests/tail-2/retry.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/misc/stat-fmt.sh b/tests/misc/stat-fmt.sh
index 1245ddb9e..45a276d13 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 a4cff11e6..b764aa7f1 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=$!