Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | t6000-t9999: detect and signal failure within loop | Eric Sunshine | 2021-12-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Failures within `for` and `while` loops can go unnoticed if not detected and signaled manually since the loop itself does not abort when a contained command fails, nor will a failure necessarily be detected when the loop finishes since the loop returns the exit code of the last command it ran on the final iteration, which may not be the command which failed. Therefore, detect and signal failures manually within loops using the idiom `|| return 1` (or `|| exit 1` within subshells). Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> | ||||
* | t9000-t9999: fix broken &&-chains | Eric Sunshine | 2018-07-16 | 1 | -1/+1 |
| | | | | | Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> | ||||
* | git svn: add test for a git svn gc followed by a git svn mkdirs | Robert Zeh | 2009-12-23 | 1 | -0/+40 |
git svn gc will compress the unhandled.log files that git svn mkdirs reads, causing git svn mkdirs to skip directory creation. [ew: trivial whitespace cleanups] Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Robert Zeh <robert.a.zeh@gmail.com> |