summaryrefslogtreecommitdiff
path: root/t/t9501-gitweb-standalone-http-status.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-03-25 01:25:55 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-25 10:21:23 -0700
commitecb590a9de231a3312527da023cd5b60328ae22e (patch)
tree323ee5c1a243b8105a53a42489da0659005135ec /t/t9501-gitweb-standalone-http-status.sh
parentt6039: fix broken && chain (diff)
downloadtgif-ecb590a9de231a3312527da023cd5b60328ae22e.tar.xz
perf-lib: fix ignored exit code inside loop
When copying the test repository, we try to detect whether the copy succeeded. However, most of the heavy lifting is done inside a for loop, where our "break" will lose the exit code of the failing "cp". We can take advantage of the fact that we are in a subshell, and just "exit 1" to break out with a code. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9501-gitweb-standalone-http-status.sh')
0 files changed, 0 insertions, 0 deletions