Add test case for update hooks in receive-pack.
commit27086d0f8418b1961a5fc2bea978f0a5ff37c50d
authorShawn O. Pearce <spearce@spearce.org>
Sun, 31 Dec 2006 07:20:23 +0000 (31 02:20 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 31 Dec 2006 08:21:37 +0000 (31 00:21 -0800)
tree25437312bf94566472129a04141f4dbffe8f7051
parenta862f97e98decc317437fa3b04081f68fb4ffbf3
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>
t/t5401-update-hooks.sh [new file with mode: 0755]