From: Jonathan Nieder Date: Sun, 03 Oct 2010 20:59:50 GMT Subject: Re: [PATCHv6 15/16] Add missing &&'s throughout the testsuite Message-ID: <20101003205950.GC22743@burratino> In-Reply-To: <1286136014-7728-16-git-send-email-newren@gmail.com> Elijah Newren wrote: >> On Sun, Oct 3, 2010 at 8:46 AM, Jonathan Nieder wrote: >>>> --- a/t/t1509-root-worktree.sh >>>> +++ b/t/t1509-root-worktree.sh >>>> @@ -232,8 +232,8 @@ say "auto bare gitdir" >>>> >>>> # DESTROYYYYY!!!!! >>>> test_expect_success 'setup' ' >>>> - rm -rf /refs /objects /info /hooks >>>> - rm /* >>>> + rm -rf /refs /objects /info /hooks && >>>> + rm /* && [...] >> How about replacing the two rm commands with a simple 'rm -rf /*'? Umm, won't that delete _everything_, including git? I would suggest just leaving the test alone and contacting the test author or adding a comment unless you can test the change.