summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-02-09 13:39:52 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-10 22:25:25 -0800
commit2f33415563a4e4deb45d88f71fdd8963793b5c0c (patch)
tree1b496248de28ca3e2d52ded1b750c139cc54ec22 /Makefile
parentDescribe notable git.el changes in the release notes (diff)
downloadtgif-2f33415563a4e4deb45d88f71fdd8963793b5c0c.tar.xz
Modernize t5400 test script
Many tests checked for failure by hand without using test_must_fail (they probably predate the shell function). When we know the desired outcome, explicitly check for it, instead of checking if the result does not match one possible incorrect outcome. E.g. if you expect a push to be refused, you do not test if the result is different from what was pushed. Instead, make sure that the ref did not before and after the push. The test sequence chdir'ed around and any failure at one point could have started the next test in an unexpected directory. Fix this problem by using subshells as necessary. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions