Turn setup code in t2007-checkout-symlink.sh into a test
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
9d488eb40e
commit
621fd7a287
@ -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' '
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user