summaryrefslogtreecommitdiff
path: root/git-clone-script
diff options
context:
space:
mode:
authorLibravatar Pavel Roskin <proski@gnu.org>2005-08-11 12:00:40 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-11 18:26:16 -0700
commit41184273d173c252532b3aba730ee7fdf35291f4 (patch)
tree0bc87413c16aefcbfb5d896043f7fec6b9065262 /git-clone-script
parent[PATCH] Trapping exit in tests, using return for errors (diff)
downloadtgif-41184273d173c252532b3aba730ee7fdf35291f4.tar.xz
[PATCH] Trapping exit in tests, using return for errors: further fixes.
"return" from a test would leave the exit trap set, which could cause a spurious error message if it's the last test in the script or --immediate is used. The easiest solution would be to have a global trap that is set when test-lib.sh is sourced and unset either by test_done(), error() or by test_failure_() with --immediate. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-clone-script')
0 files changed, 0 insertions, 0 deletions