./t3310-notes-merge-manual-resolve.sh broken on pu under Mac OS ?
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
d07d62e5208f22eb5695e7eb47667dc8b9860290after cat
not ok 13 - finalize conflicting merge (z => m)
-----------------------
Failure 2:
index d557212..92fabf0 100755
t/t3310-notes-merge-manual-resolve.sh +3 -0
@@ -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
d07d62e5208f22eb5695e7eb47667dc8b9860290after cat
Quoted 4 lines · Torsten Bögershausen
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 ?
I'm unable to reproduce these failures on Mac.
Quoted 56 lines
--------------------
Failure 1:
Add some debug code:
git diff(quoted diff) +6
-2- 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/mConflicts:
04ed9a0bbe0285f41c913e2002cb09ef8449d4a6 0f7aa3ec6325aeb88b910453bb3eb37c49d75c11 7a4ca6ee52a974a66cbaa78e33214535dff1d691 d07d62e5208f22eb5695e7eb47667dc8b9860290after cat
not ok 13 - finalize conflicting merge (z => m)-----------------------
Failure 2:
index d557212..92fabf0 100755t/t3310-notes-merge-manual-resolve.sh +3
-1@@ -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/mConflicts:
04ed9a0bbe0285f41c913e2002cb09ef8449d4a6 0f7aa3ec6325aeb88b910453bb3eb37c49d75c11 7a4ca6ee52a974a66cbaa78e33214535dff1d691 d07d62e5208f22eb5695e7eb47667dc8b9860290after cat
Quoted 8 lines · Eric Sunshine
Quoted 4 lines · Torsten Bögershausen
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 ?I'm unable to reproduce these failures on Mac.
This test failed during a short window (due to commit 2bd811ec) and has already been fixed in commit 3a74ea38 ("notes: allow merging from arbitrary references", 29-12-2015).
ATB,
Ramsay Jones
Re: ./t3310 fixed, t3400 broken
Quoted 4 lines
t3310-notes-merge-manual-resolve.sh
failed during a short window (due to commit2bd811ec) and has already been fixed in commit3a74ea38("notes: allow merging from arbitrary references", 29-12-2015).
Yes, it's fixed. Sorry for the noise.
The next failure is t3400.
Is there a chance to squeeze in this diff ?
t/t3400-rebase.sh +3 -4
@@ -259,11 +259,11 @@ test_expect_success 'rebase duplicated commit with --keep-empty' ' git reset --hard && git checkout master && - >x && git add x && git commit x -mx && - echo x >x && git commit x -mx1 && + >y && git add y && git commit y -my && + echo y >y && git commit y -my1 && git checkout -b duplicated HEAD~ && - echo x >x && git commit x -mx2 && + echo y >y && git commit y -my2 && git rebase --keep-empty master '
Quoted 9 lines
ATB,
Ramsay Jones--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html