author | Dennis Stosberg <dennis@stosberg.net> | |
Sun, 18 Jun 2006 20:33:21 +0000 (22:33 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Jun 2006 20:58:20 +0000 (13:58 -0700) | ||
commit | 476a4dfc05f8d67406af277a00f7079b5d6d51e1 | |
tree | e6627d6de94deaf4d6c1ce02061aea89886ea035 | tree | snapshot |
parent | 3e4339e6f96e8c4f38a9c6607b98d3e96a2ed783 | commit | diff |
Make t8001-annotate and t8002-blame more portable
These two tests assume that "sed" will not modify the final line of a
stream if it does not end with a newline character. The assumption is
not true at least for FreeBSD and Solaris 9. FreeBSD's "sed" appends
a newline character; "sed" in Solaris 9 even removes the incomplete
final line. This patch makes the test use perl instead.
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
These two tests assume that "sed" will not modify the final line of a
stream if it does not end with a newline character. The assumption is
not true at least for FreeBSD and Solaris 9. FreeBSD's "sed" appends
a newline character; "sed" in Solaris 9 even removes the incomplete
final line. This patch makes the test use perl instead.
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/annotate-tests.sh | diff | blob | history |