diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-10-30 12:10:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-30 12:10:27 -0700 |
commit | 414b7033b16f23b724ea81d71c4b74ef42edad17 (patch) | |
tree | 31ad340d06db608b6420cf71495b96984e5acada /t | |
parent | 779503c5eb5fe822409cdf7c064a818bdc650f02 (diff) | |
parent | 4c5baf0273ae3382dbaca81fee0331cada5899ea (diff) | |
download | git-414b7033b16f23b724ea81d71c4b74ef42edad17.tar.gz |
Merge branch 'nd/gc-lock-against-each-other'
* nd/gc-lock-against-each-other:
gc: remove gc.pid file at end of execution
Diffstat (limited to 't')
-rwxr-xr-x | t/t6500-gc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t6500-gc.sh b/t/t6500-gc.sh index b1a63655f9..63194d819e 100755 --- a/t/t6500-gc.sh +++ b/t/t6500-gc.sh @@ -9,6 +9,11 @@ test_expect_success 'gc empty repository' ' git gc ' +test_expect_success 'gc does not leave behind pid file' ' + git gc && + test_path_is_missing .git/gc.pid +' + test_expect_success 'gc --gobbledegook' ' test_expect_code 129 git gc --nonsense 2>err && test_i18ngrep "[Uu]sage: git gc" err |