Re: [PATCH 2/4] t7610: make tests more independent and debuggable
- From
- Richard Hansen <hansenr@google.com>
- Date
- Jan 5, 2017, 15:48 UTC
- Message-ID
- <bf3fcea5-9507-018b-d67b-70ce208a8677@google.com>
- In-Reply-To
- <20170105122037.t4k7cby6klqb4lci@ruderich.org>
On 2017-01-05 07:20, Simon Ruderich wrote:
Show 16 quoted lines
> On Tue, Jan 03, 2017 at 07:50:40PM -0500, Richard Hansen wrote: >> [snip] >> @@ -145,8 +148,13 @@ test_expect_success 'mergetool in subdir' ' >> ' >> >> test_expect_success 'mergetool on file in parent dir' ' >> + git reset --hard && >> + git checkout -b test$test_count branch1 && >> + git submodule update -N && >> ( >> cd subdir && >> + test_must_fail git merge master >/dev/null 2>&1 && >> + ( yes "" | git mergetool file3 >/dev/null 2>&1 ) && > > This change seems unrelated to the changes mentioned in the > commit message. Was it intended?
Yes, that is intentional; without this change, the test depends on the successful completion of the previous test. I'll improve the commit message.
Thanks, Richard
> > Regards > Simon