author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 7 Mar 2007 00:48:59 +0000 (19:48 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 7 Mar 2007 01:09:53 +0000 (17:09 -0800) | ||
commit | 58db64f73c3dedb41467f915b45d305d52d04d2c | |
tree | bb71bbae444b5a937c772e32cce9d6f3e5fe440f | tree | snapshot |
parent | eec102524fda2df7d2846e865805ca213119bf10 | commit | diff |
make t8001 work on Mac OS X again
The test was recently broken to expect sed to leave the
incomplete line at the end without newline.
POSIX says that output of the pattern space is to be followed by
a newline, while GNU adds the newline back only when it was
stripped when input. GNU behaviour is arguably more intuitive
and nicer, but we should not depend on it.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The test was recently broken to expect sed to leave the
incomplete line at the end without newline.
POSIX says that output of the pattern space is to be followed by
a newline, while GNU adds the newline back only when it was
stripped when input. GNU behaviour is arguably more intuitive
and nicer, but we should not depend on it.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/annotate-tests.sh | diff | blob | history |