From: "Torsten Bögershausen" <tboegi@web.de>
To: Git Mailing List <git@vger.kernel.org>
Subject: ./t3310-notes-merge-manual-resolve.sh broken on pu under Mac OS ?
Date: Wed, 30 Dec 2015 14:20:04 +0100 [thread overview]
Message-ID: <5683DA04.6000007@web.de> (raw)
I got 2 failures on pu under Mac OS, (Linux is OK)
I did some very basic debugging, it seems as if grep doesn't find
a needed string.
Does anybody have an idea here ?
--------------------
Failure 1:
Add some debug code:
git diff
- grep -q refs/notes/z merge_commit_msg &&
+ echo >&2 before grep &&
+ echo >&2 before cat &&
+ cat >&2 merge_commit_msg &&
+ echo >&2 after cat &&
+ grep refs/notes/z merge_commit_msg >&2 &&
# Merge commit mentions conflicting notes
+ echo >&2 after grep &&
------ run the test:
debug=t verbose=t ./t3310-notes-merge-manual-resolve.sh 2>&1 | less
-------- get this output:
before grep
before cat
Merged notes from z into refs/notes/m
Conflicts:
04ed9a0bbe0285f41c913e2002cb09ef8449d4a6
0f7aa3ec6325aeb88b910453bb3eb37c49d75c11
7a4ca6ee52a974a66cbaa78e33214535dff1d691
d07d62e5208f22eb5695e7eb47667dc8b9860290
after cat
not ok 13 - finalize conflicting merge (z => m)
-----------------------
Failure 2:
index d557212..92fabf0 100755
--- a/t/t3310-notes-merge-manual-resolve.sh
+++ b/t/t3310-notes-merge-manual-resolve.sh
@@ -472,6 +472,9 @@ EOF
test "$(git rev-parse refs/notes/m^2)" = "$(cat pre_merge_z)" &&
# Merge commit mentions the notes refs merged
git log -1 --format=%B refs/notes/m > merge_commit_msg &&
+ echo >&2 before cat &&
+ cat merge_commit_msg >&2 &&
+ echo >&2 after cat &&
not ok 17 - add + remove notes in finalized merge (z => m)
---------- gives this:
before cat
Merged notes from z into refs/notes/m
Conflicts:
04ed9a0bbe0285f41c913e2002cb09ef8449d4a6
0f7aa3ec6325aeb88b910453bb3eb37c49d75c11
7a4ca6ee52a974a66cbaa78e33214535dff1d691
d07d62e5208f22eb5695e7eb47667dc8b9860290
after cat
next reply other threads:[~2015-12-30 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-30 13:20 Torsten Bögershausen [this message]
2015-12-31 6:08 ` ./t3310-notes-merge-manual-resolve.sh broken on pu under Mac OS ? Eric Sunshine
2015-12-31 12:23 ` Ramsay Jones
2015-12-31 15:47 ` ./t3310 fixed, t3400 broken Torsten Bögershausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5683DA04.6000007@web.de \
--to=tboegi@web.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.