author | Tay Ray Chuan <rctay89@gmail.com> | |
Mon, 25 Jan 2010 07:42:23 +0000 (15:42 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Jan 2010 17:53:02 +0000 (09:53 -0800) | ||
commit | 9567f082ddc1f3143a153d0ecf59f3727ff0f7a5 | |
tree | a92f60d9e777167d37fb28d0b537e5314328f193 | tree | snapshot |
parent | 0aa958d4b40159d5e72a521dda1dbe8f6e769e89 | commit | diff |
t5541-http-push: make grep expression check for one line only
Don't feed a multiple-line pattern to grep and expect the them to match
with lines in order.
Simplify the grep expressions in the non-fast-forward tests to check
only for the first line of the non-fast-forward warning - having that
line should be enough assurance that the full warning is printed.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Don't feed a multiple-line pattern to grep and expect the them to match
with lines in order.
Simplify the grep expressions in the non-fast-forward tests to check
only for the first line of the non-fast-forward warning - having that
line should be enough assurance that the full warning is printed.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5541-http-push.sh | diff | blob | history |