This commit is contained in:
Jim Meyering 2003-08-17 07:49:10 +00:00
parent d69f5304ab
commit 1ead947b79
4 changed files with 10 additions and 4 deletions

View File

@ -20,6 +20,7 @@
(tail_lines): Likewise, after lseek calls.
Reported by Nick Estes. See http://bugs.debian.org/205251 for details.
* tests/tail-2/tail-n0f: New file. Test for above fix.
* tests/tail-2/Makefile.am (TESTS): Add tail-n0f.
2003-08-15 Jim Meyering <jim@meyering.net>

View File

@ -481,13 +481,15 @@ yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c
# That is necessary to avoid failures for programs that are also shell built-in
# functions like echo, false, printf, pwd.
.x.1:
@rm -f $@
@echo "Updating man page $@"; \
mkdir $t; \
(cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \
$(HELP2MAN) \
--include=$(srcdir)/$*.x \
--output=$@ $t/$*$(EXEEXT); \
rm -rf $t
--output=$@ $t/$*$(EXEEXT)
@chmod a-w $@
@rm -rf $t
check-local: check-x-vs-1 check-programs-vs-x

View File

@ -873,7 +873,7 @@ uninstall-binPROGRAMS:
done
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
installcheck-binPROGRAMS: $(bin_PROGRAMS)
bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \

View File

@ -162,7 +162,10 @@ TESTS_ENVIRONMENT = \
PROG=tail
TESTS = big-4gb proc-ksyms start-middle assert assert-2
TESTS = \
tail-n0f \
big-4gb proc-ksyms start-middle assert assert-2
subdir = tests/tail-2
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs