git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/4] tests: implicitly skip SYMLINKS tests using <prereq>

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 27, 2010, 21:17 UTC
Message-ID
<20100727211737.GA11768@burratino>
In-Reply-To
<1280265254-19642-2-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason wrote:
Show 13 quoted lines
> +++ b/t/t4004-diff-rename-symlink.sh
> @@ -40,8 +34,9 @@ test_expect_success \
>  # rezrov and nitfol are rename/copy of frotz and bozbar should be
>  # a new creation.
>  
> -GIT_DIFF_OPTS=--unified=0 git diff-index -M -p $tree >current
> -cat >expected <<\EOF
> +test_expect_success SYMLINKS 'setup diff output' "
> +    GIT_DIFF_OPTS=--unified=0 git diff-index -M -p $tree >current
> +    cat >expected <<\EOF
>  diff --git a/bozbar b/bozbar
>  new file mode 120000
>  --- /dev/null

Probably belongs in a separate patch. More importantly, it is missing &&-chaining (not a regression, but it is best to set a good example).

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 8 in “Skip tests using 3-arg test_*”
  1. 0/4 Skip tests using 3-arg test_*Ævar Arnfjörð Bjarmason, Jul 27, 2010
  2. 1/4 tests: implicitly skip SYMLINKS tests using <prereq>Ævar Arnfjörð Bjarmason, Jul 27, 2010
  3. Jonathan NiederJul 27, 2010
  4. 1/4 t: implicitly skip SYMLINKS tests using <prereq>Ævar Arnfjörð Bjarmason, Jul 27, 2010
  5. Sverre RabbelierJul 27, 2010
  6. 2/4 t/t5800-remote-helpers.sh: Skip with prereq on python <2.4Ævar Arnfjörð Bjarmason, Jul 27, 2010
  7. 3/4 t/t7800-difftool.sh: Skip with prereq on no PERLÆvar Arnfjörð Bjarmason, Jul 27, 2010
  8. 4/4 t/README: Update "Skipping tests" to align with best practicesÆvar Arnfjörð Bjarmason, Jul 27, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.