Re: [PATCH 6/6] rebase --rewrite-refs: tests
- From
Phil Hord <hordp@cisco.com>
- Date
- Jun 27, 2011, 16:07 UTC
- Message-ID
- <4E08AAAE.5020604@cisco.com>
- In-Reply-To
- <ab6d17ba0ea919e0f873597b60d6c7e9a43460c8.1309133817.git.greg@quora.com>
On 01/24/2010 09:28 PM, Greg Price wrote:
Show 38 quoted lines
> Signed-off-by: Greg Price <price@mit.edu> > --- > t/t3420-rebase-ref.sh | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 75 insertions(+), 0 deletions(-) > create mode 100644 t/t3420-rebase-ref.sh > > diff --git a/t/t3420-rebase-ref.sh b/t/t3420-rebase-ref.sh > new file mode 100644 > index 0000000..601a434 > --- /dev/null > +++ b/t/t3420-rebase-ref.sh > @@ -0,0 +1,75 @@ > +#!/bin/sh > + > +test_description='git rebase --rewrite-refs' > + > +. ./test-lib.sh > +. "$TEST_DIRECTORY/lib-rebase.sh" > +set_fake_editor > + > +# part1 part2 topic > +# | | | > +# v v v > +# A-----C------D-----E > +# \ > +# B <--master > + > +test_expect_success setup ' > + test_commit A && > + git branch topic && > + test_commit B && > + git checkout topic && > + test_commit C && > + git branch part1 && > + test_commit D > + git branch part2 && > + test_commit E > +'
I think there is a missing "&&" at the end of "test_commit D". But it's possible I just don't understand the test machinery enough to know this is normal. Can you explain to me the difference in that case?
Phil