summaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorJanne Snabb <snabb@epipe.com>2017-02-06 23:15:42 -0800
committerPádraig Brady <P@draigBrady.com>2017-02-08 14:42:18 -0800
commit1ddcd24d52afbe9af1d7d8712674eed2221cef97 (patch)
tree6bc146fff6ee40542df3a0fac7f7f5c6168292fa /tests/local.mk
parentc95c0a0fd4b8dc72a66484f3f361a3afb9acdc94 (diff)
downloadcoreutils-1ddcd24d52afbe9af1d7d8712674eed2221cef97.tar.xz
tail: fix output of redundant headers when resuming
* src/tail.c (check_fspec): Only enable printing of the file header if we've actually read some data and this is a new file. Also move printing of the file header to... (dump_remainder): ...here, to allow printing only when data read. * tests/tail-2/overlay-headers.sh: A new test for suspension and resumption of tail. * tests/local.mk: Reference the new test. * NEWS: Mention the fix. Fixes http://bugs.gnu.org/23539
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 30d6d7c87..27170240e 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -248,6 +248,7 @@ all_tests = \
tests/misc/date-next-dow.pl \
tests/misc/ptx-overrun.sh \
tests/misc/xstrtol.pl \
+ tests/tail-2/overlay-headers.sh \
tests/tail-2/pid.sh \
tests/misc/od.pl \
tests/misc/od-endian.sh \