Thread (129 messages) 129 messages, 6 authors, 2021-06-02

Re: [PATCH v2 18/21] t7900: mark pack-refs tests as REFFILES

From: Han-Wen Nienhuys <hidden>
Date: 2021-05-31 15:11:10

On Thu, May 20, 2021 at 5:41 PM Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
quoted
-test_expect_success 'pack-refs task' '
+test_expect_success REFFILES 'pack-refs task' '
      for n in $(test_seq 1 5)
      do
              git branch -f to-pack/$n HEAD || return 1
I don't think it's superfluous to test what "git maintenance" does
anyway, i.e. the test ends with:

    test_subcommand git pack-refs --all --prune

Shouldn't we test that we .. don't run that, abort, warn, whatever?
Sure. I've removed the check on the side effect for pack-refs instead.

-- 
Han-Wen Nienhuys - Google Munich
I work 80%. Don't expect answers from me on Fridays.
--

Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help