summaryrefslogtreecommitdiff
path: root/t/t5401-update-hooks.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-01-15Replace "echo -n" with printf in shell scripts.Libravatar Jason Riedy1-2/+2
Not all echos know -n. This was causing a test failure in t5401-update-hooks.sh, but not t3800-mktag.sh for some reason. Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-12-31Add test case for update hooks in receive-pack.Libravatar Shawn O. Pearce1-0/+81
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>