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).