]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t6006, t6012: adjust tests to use 'setup' instead of synonyms
authorElijah Newren <newren@gmail.com>
Sun, 18 Oct 2020 00:23:46 +0000 (00:23 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Oct 2020 20:18:37 +0000 (13:18 -0700)
With the new ability to pass --run=setup to select which tests to run,
it is more convenient if tests use the term "setup" instead of synonyms
like 'prepare' or 'rebuild'.  There are undoubtedly many other tests in
our testsuite that could be changed over too, these are just a couple
that I ran into.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6006-rev-list-format.sh
t/t6012-rev-list-simplify.sh

index bc95da8a5f72c1b9a9e523f82ce4404f92679d5e..99a1eaf332db7120cd0e957a9316c30cd5c01594 100755 (executable)
@@ -339,7 +339,7 @@ commit $head1
 .. (hinzugef${added_utf8_part_iso88591}gt) foo
 EOF
 
-test_expect_success 'prepare expected messages (for test %b)' '
+test_expect_success 'setup expected messages (for test %b)' '
        cat <<-EOF >expected.utf-8 &&
        commit $head3
        This commit message is much longer than the others,
index 7fc10f85930c70e0527efc068dfb94658ca172c8..fd202fcb9433451c5f0df412114eace11259e3f4 100755 (executable)
@@ -168,7 +168,7 @@ test_expect_success '--full-diff is not affected by --parents' '
 #
 # This example is explained in Documentation/rev-list-options.txt
 
-test_expect_success 'rebuild repo' '
+test_expect_success 'setup rebuild repo' '
        rm -rf .git * &&
        git init &&
        git switch -c topic &&