Re: [PATCH 4/6] Turn setup code in t2007-checkout-symlink.sh into a test
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 7, 2010, 20:23 UTC
- Message-ID
- <m3tyqjea33.fsf@localhost.localdomain>
- In-Reply-To
- <1273261025-31523-4-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> Previously the test would print to stdout which interfered with the > TAP output. Now this scaffolding code is just a normal test. > > Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
That's a good change anyway, independent on the TAP-ification of output of git test suite.
Show 24 quoted lines
> --- > t/t2007-checkout-symlink.sh | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/t/t2007-checkout-symlink.sh b/t/t2007-checkout-symlink.sh > index 616ca2a..05cc8fd 100755 > --- a/t/t2007-checkout-symlink.sh > +++ b/t/t2007-checkout-symlink.sh > @@ -44,8 +44,10 @@ test_expect_success 'switch from symlink to dir' ' > > ' > > -rm -fr frotz xyzzy nitfol && > -git checkout -f master || exit > +test_expect_success 'Remove temporary directories & switch to master' ' > + rm -fr frotz xyzzy nitfol && > + git checkout -f master > +' > > test_expect_success 'switch from dir to symlink' ' > > -- > 1.7.1.dirty >
-- Jakub Narebski Poland ShadeHawk on #git