author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 31 Dec 2006 07:20:23 +0000 (02:20 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 31 Dec 2006 08:21:37 +0000 (00:21 -0800) | ||
commit | 27086d0f8418b1961a5fc2bea978f0a5ff37c50d | |
tree | 25437312bf94566472129a04141f4dbffe8f7051 | tree | snapshot |
parent | a862f97e98decc317437fa3b04081f68fb4ffbf3 | commit | diff |
Add test case for update hooks in receive-pack.
Verify that the update hooks work as documented/advertised. This is
a simple set of tests to check that the update hooks run with the
parameters expected, have their STDOUT and STDERR redirected to
the client side of the connection, and that their STDIN does not
contain any data (as its actually /dev/null).
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Verify that the update hooks work as documented/advertised. This is
a simple set of tests to check that the update hooks run with the
parameters expected, have their STDOUT and STDERR redirected to
the client side of the connection, and that their STDIN does not
contain any data (as its actually /dev/null).
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t5401-update-hooks.sh | [new file with mode: 0755] | blob |