* t7610-mergetool.sh -q isn't quiet
@ 2010-08-20 6:50 Brian Gernhardt
2010-08-20 21:03 ` Ævar Arnfjörð Bjarmason
0 siblings, 1 reply; 2+ messages in thread
From: Brian Gernhardt @ 2010-08-20 6:50 UTC (permalink / raw)
To: Git Mailing List
I'm just posting this to the list because I should really already be in bed...
Running t7610-mergetool with -q isn't quiet. This is also noticeable when running the full test suite in a TAP harness (e.g. prove).
$ ./t7610-mergetool.sh -q
Normal merge conflict for 'file1':
{local}: modified
{remote}: modified
Normal merge conflict for 'file2':
{local}: created
{remote}: created
Normal merge conflict for 'subdir/file3':
{local}: modified
{remote}: modified
# passed all 7 test(s)
1..7
All the output seems to be from the last test.
Also, some of the test style seems odd. For example:
test_expect_success 'mergetool on file in parent dir' '
cd subdir && (
( yes "" | git mergetool ../file1 >/dev/null 2>&1 ) &&
( yes "" | git mergetool ../file2 >/dev/null 2>&1 ) &&
test "$(cat ../file1)" = "master updated" &&
test "$(cat ../file2)" = "master new" &&
git commit -m "branch1 resolved with mergetool - subdir") &&
cd ..
'
Shouldn't that just be :
(
cd subdir &&
yadda &&
yadda
)
If nobody else gets to it, hopefully I'll find time tomorrow. If not, I should get a fresh supply of tuits over the weekend.
~~ Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: t7610-mergetool.sh -q isn't quiet
2010-08-20 6:50 t7610-mergetool.sh -q isn't quiet Brian Gernhardt
@ 2010-08-20 21:03 ` Ævar Arnfjörð Bjarmason
0 siblings, 0 replies; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-20 21:03 UTC (permalink / raw)
To: Brian Gernhardt; +Cc: Git Mailing List, Charles Bailey
On Fri, Aug 20, 2010 at 06:50, Brian Gernhardt
<brian@gernhardtsoftware.com> wrote:
> test "$(cat ../file1)" = "master updated" &&
> test "$(cat ../file2)" = "master new" &&
That should also use test_cmp.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-20 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-20 6:50 t7610-mergetool.sh -q isn't quiet Brian Gernhardt
2010-08-20 21:03 ` Ævar Arnfjörð Bjarmason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).