Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http: extract type/subtype portion of content-type
[gitweb.git]
/
t
/
t6500-gc.sh
diff --git
a/t/t6500-gc.sh
b/t/t6500-gc.sh
index b1a63655f98dfc8d19c1a80f86652654cd9cade6..63194d819efe07af241573662c660e6e92b503f5 100755
(executable)
--- 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