Merge branch 'ep/shell-command-substitution'
[gitweb.git] / t / t6500-gc.sh
index b1a63655f98dfc8d19c1a80f86652654cd9cade6..63194d819efe07af241573662c660e6e92b503f5 100755 (executable)
@@ -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