diff options
author | Elijah Newren <newren@gmail.com> | 2020-08-11 00:29:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-11 00:59:00 +0200 |
commit | 919df3195553af05c884d51588d12134d8dfab2a (patch) | |
tree | 5be83bccf1bb0554cebcf9687c637a175fb62d93 | |
parent | Fifth batch (diff) | |
download | git-919df3195553af05c884d51588d12134d8dfab2a.tar.xz git-919df3195553af05c884d51588d12134d8dfab2a.zip |
Collect merge-related tests to t64xx
The tests for the merge machinery are spread over several places.
Collect them into t64xx for simplicity. Some notes:
t60[234]*.sh:
Merge tests started in t602*, overgrew bisect and remote tracking
tests in t6030, t6040, and t6041, and nearly overtook replace tests
in t6050. This made picking out relevant tests that I wanted to run
in a tighter loop slightly more annoying for years.
t303*.sh:
These started out as tests for the 'merge-recursive' toplevel command,
but did not restrict to that and had lots of overlap with the
underlying merge machinery.
t7405, t7613:
submodule-specific merge logic started out in submodule.c but was
moved to merge-recursive.c in commit 18cfc08866 ("submodule.c: move
submodule merging to merge-recursive.c", 2018-05-15). Since these
tests are about the logic found in the merge machinery, moving these
tests to be with the merge tests makes sense.
t7607, t7609:
Having tests spread all over the place makes it more likely that
additional tests related to a certain piece of logic grow in all those
other places. Much like t303*.sh, these two tests were about the
underlying merge machinery rather than outer levels.
Tests that were NOT moved:
t76[01]*.sh:
Other than the four tests mentioned above, the remaining tests in
t76[01]*.sh are related to non-recursive merge strategies, parameter
parsing, and other stuff associated with the highlevel builtin/merge.c
rather than the recursive merge machinery.
t3[45]*.sh:
The rebase testcases in t34*.sh also test the merge logic pretty
heavily; sometimes changes I make only trigger failures in the rebase
tests. The rebase tests are already nicely coupled together, though,
and I didn't want to mess that up. Similar comments apply for the
cherry-pick tests in t35*.sh.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | t/t6400-merge-df.sh (renamed from t/t6020-merge-df.sh) | 0 | ||||
-rwxr-xr-x | t/t6401-merge-criss-cross.sh (renamed from t/t6021-merge-criss-cross.sh) | 0 | ||||
-rwxr-xr-x | t/t6402-merge-rename.sh (renamed from t/t6022-merge-rename.sh) | 0 | ||||
-rwxr-xr-x | t/t6403-merge-file.sh (renamed from t/t6023-merge-file.sh) | 0 | ||||
-rwxr-xr-x | t/t6404-recursive-merge.sh (renamed from t/t6024-recursive-merge.sh) | 0 | ||||
-rwxr-xr-x | t/t6405-merge-symlinks.sh (renamed from t/t6025-merge-symlinks.sh) | 0 | ||||
-rwxr-xr-x | t/t6406-merge-attr.sh (renamed from t/t6026-merge-attr.sh) | 0 | ||||
-rwxr-xr-x | t/t6407-merge-binary.sh (renamed from t/t6027-merge-binary.sh) | 0 | ||||
-rwxr-xr-x | t/t6408-merge-up-to-date.sh (renamed from t/t6028-merge-up-to-date.sh) | 0 | ||||
-rwxr-xr-x | t/t6409-merge-subtree.sh (renamed from t/t6029-merge-subtree.sh) | 0 | ||||
-rwxr-xr-x | t/t6411-merge-filemode.sh (renamed from t/t6031-merge-filemode.sh) | 0 | ||||
-rwxr-xr-x | t/t6412-merge-large-rename.sh (renamed from t/t6032-merge-large-rename.sh) | 0 | ||||
-rwxr-xr-x | t/t6413-merge-crlf.sh (renamed from t/t6033-merge-crlf.sh) | 0 | ||||
-rwxr-xr-x | t/t6414-merge-rename-nocruft.sh (renamed from t/t6034-merge-rename-nocruft.sh) | 0 | ||||
-rwxr-xr-x | t/t6415-merge-dir-to-symlink.sh (renamed from t/t6035-merge-dir-to-symlink.sh) | 0 | ||||
-rwxr-xr-x | t/t6416-recursive-corner-cases.sh (renamed from t/t6036-recursive-corner-cases.sh) | 0 | ||||
-rwxr-xr-x | t/t6417-merge-ours-theirs.sh (renamed from t/t6037-merge-ours-theirs.sh) | 0 | ||||
-rwxr-xr-x | t/t6418-merge-text-auto.sh (renamed from t/t6038-merge-text-auto.sh) | 0 | ||||
-rwxr-xr-x | t/t6419-merge-ignorecase.sh (renamed from t/t6039-merge-ignorecase.sh) | 0 | ||||
-rwxr-xr-x | t/t6422-merge-rename-corner-cases.sh (renamed from t/t6042-merge-rename-corner-cases.sh) | 0 | ||||
-rwxr-xr-x | t/t6423-merge-rename-directories.sh (renamed from t/t6043-merge-rename-directories.sh) | 0 | ||||
-rwxr-xr-x | t/t6424-merge-unrelated-index-changes.sh (renamed from t/t6044-merge-unrelated-index-changes.sh) | 0 | ||||
-rwxr-xr-x | t/t6425-merge-rename-delete.sh (renamed from t/t6045-merge-rename-delete.sh) | 0 | ||||
-rwxr-xr-x | t/t6426-merge-skip-unneeded-updates.sh (renamed from t/t6046-merge-skip-unneeded-updates.sh) | 0 | ||||
-rwxr-xr-x | t/t6427-diff3-conflict-markers.sh (renamed from t/t6047-diff3-conflict-markers.sh) | 0 | ||||
-rwxr-xr-x | t/t6430-merge-recursive.sh (renamed from t/t3030-merge-recursive.sh) | 0 | ||||
-rwxr-xr-x | t/t6431-merge-criscross.sh (renamed from t/t3031-merge-criscross.sh) | 0 | ||||
-rwxr-xr-x | t/t6432-merge-recursive-space-options.sh (renamed from t/t3032-merge-recursive-space-options.sh) | 0 | ||||
-rwxr-xr-x | t/t6433-merge-toplevel.sh (renamed from t/t3033-merge-toplevel.sh) | 0 | ||||
-rwxr-xr-x | t/t6434-merge-recursive-rename-options.sh (renamed from t/t3034-merge-recursive-rename-options.sh) | 0 | ||||
-rwxr-xr-x | t/t6435-merge-sparse.sh (renamed from t/t3035-merge-sparse.sh) | 0 | ||||
-rwxr-xr-x | t/t6436-merge-overwrite.sh (renamed from t/t7607-merge-overwrite.sh) | 0 | ||||
-rwxr-xr-x | t/t6437-submodule-merge.sh (renamed from t/t7405-submodule-merge.sh) | 0 | ||||
-rwxr-xr-x | t/t6438-submodule-directory-file-conflicts.sh (renamed from t/t7613-merge-submodule.sh) | 0 | ||||
-rwxr-xr-x | t/t6439-merge-co-error-msgs.sh (renamed from t/t7609-merge-co-error-msgs.sh) | 0 |
35 files changed, 0 insertions, 0 deletions
diff --git a/t/t6020-merge-df.sh b/t/t6400-merge-df.sh index 400a4cd139..400a4cd139 100755 --- a/t/t6020-merge-df.sh +++ b/t/t6400-merge-df.sh diff --git a/t/t6021-merge-criss-cross.sh b/t/t6401-merge-criss-cross.sh index 9d5e992878..9d5e992878 100755 --- a/t/t6021-merge-criss-cross.sh +++ b/t/t6401-merge-criss-cross.sh diff --git a/t/t6022-merge-rename.sh b/t/t6402-merge-rename.sh index bbbba3dcbf..bbbba3dcbf 100755 --- a/t/t6022-merge-rename.sh +++ b/t/t6402-merge-rename.sh diff --git a/t/t6023-merge-file.sh b/t/t6403-merge-file.sh index 2f421d967a..2f421d967a 100755 --- a/t/t6023-merge-file.sh +++ b/t/t6403-merge-file.sh diff --git a/t/t6024-recursive-merge.sh b/t/t6404-recursive-merge.sh index 332cfc53fd..332cfc53fd 100755 --- a/t/t6024-recursive-merge.sh +++ b/t/t6404-recursive-merge.sh diff --git a/t/t6025-merge-symlinks.sh b/t/t6405-merge-symlinks.sh index 6c0a90d044..6c0a90d044 100755 --- a/t/t6025-merge-symlinks.sh +++ b/t/t6405-merge-symlinks.sh diff --git a/t/t6026-merge-attr.sh b/t/t6406-merge-attr.sh index 5900358ce9..5900358ce9 100755 --- a/t/t6026-merge-attr.sh +++ b/t/t6406-merge-attr.sh diff --git a/t/t6027-merge-binary.sh b/t/t6407-merge-binary.sh index 4e6c7cb77e..4e6c7cb77e 100755 --- a/t/t6027-merge-binary.sh +++ b/t/t6407-merge-binary.sh diff --git a/t/t6028-merge-up-to-date.sh b/t/t6408-merge-up-to-date.sh index 7763c1ba98..7763c1ba98 100755 --- a/t/t6028-merge-up-to-date.sh +++ b/t/t6408-merge-up-to-date.sh diff --git a/t/t6029-merge-subtree.sh b/t/t6409-merge-subtree.sh index 793f0c8bf3..793f0c8bf3 100755 --- a/t/t6029-merge-subtree.sh +++ b/t/t6409-merge-subtree.sh diff --git a/t/t6031-merge-filemode.sh b/t/t6411-merge-filemode.sh index 87741efad3..87741efad3 100755 --- a/t/t6031-merge-filemode.sh +++ b/t/t6411-merge-filemode.sh diff --git a/t/t6032-merge-large-rename.sh b/t/t6412-merge-large-rename.sh index 80777386dc..80777386dc 100755 --- a/t/t6032-merge-large-rename.sh +++ b/t/t6412-merge-large-rename.sh diff --git a/t/t6033-merge-crlf.sh b/t/t6413-merge-crlf.sh index e8d65eefb5..e8d65eefb5 100755 --- a/t/t6033-merge-crlf.sh +++ b/t/t6413-merge-crlf.sh diff --git a/t/t6034-merge-rename-nocruft.sh b/t/t6414-merge-rename-nocruft.sh index a25e730460..a25e730460 100755 --- a/t/t6034-merge-rename-nocruft.sh +++ b/t/t6414-merge-rename-nocruft.sh diff --git a/t/t6035-merge-dir-to-symlink.sh b/t/t6415-merge-dir-to-symlink.sh index 2eddcc7664..2eddcc7664 100755 --- a/t/t6035-merge-dir-to-symlink.sh +++ b/t/t6415-merge-dir-to-symlink.sh diff --git a/t/t6036-recursive-corner-cases.sh b/t/t6416-recursive-corner-cases.sh index b3bf462617..b3bf462617 100755 --- a/t/t6036-recursive-corner-cases.sh +++ b/t/t6416-recursive-corner-cases.sh diff --git a/t/t6037-merge-ours-theirs.sh b/t/t6417-merge-ours-theirs.sh index 0aebc6c028..0aebc6c028 100755 --- a/t/t6037-merge-ours-theirs.sh +++ b/t/t6417-merge-ours-theirs.sh diff --git a/t/t6038-merge-text-auto.sh b/t/t6418-merge-text-auto.sh index 89c86d4e56..89c86d4e56 100755 --- a/t/t6038-merge-text-auto.sh +++ b/t/t6418-merge-text-auto.sh diff --git a/t/t6039-merge-ignorecase.sh b/t/t6419-merge-ignorecase.sh index 531850d834..531850d834 100755 --- a/t/t6039-merge-ignorecase.sh +++ b/t/t6419-merge-ignorecase.sh diff --git a/t/t6042-merge-rename-corner-cases.sh b/t/t6422-merge-rename-corner-cases.sh index f163893ff9..f163893ff9 100755 --- a/t/t6042-merge-rename-corner-cases.sh +++ b/t/t6422-merge-rename-corner-cases.sh diff --git a/t/t6043-merge-rename-directories.sh b/t/t6423-merge-rename-directories.sh index 83792c5ef1..83792c5ef1 100755 --- a/t/t6043-merge-rename-directories.sh +++ b/t/t6423-merge-rename-directories.sh diff --git a/t/t6044-merge-unrelated-index-changes.sh b/t/t6424-merge-unrelated-index-changes.sh index 5e3779ebc9..5e3779ebc9 100755 --- a/t/t6044-merge-unrelated-index-changes.sh +++ b/t/t6424-merge-unrelated-index-changes.sh diff --git a/t/t6045-merge-rename-delete.sh b/t/t6425-merge-rename-delete.sh index 5d33577d2f..5d33577d2f 100755 --- a/t/t6045-merge-rename-delete.sh +++ b/t/t6425-merge-rename-delete.sh diff --git a/t/t6046-merge-skip-unneeded-updates.sh b/t/t6426-merge-skip-unneeded-updates.sh index 5a2d07e516..5a2d07e516 100755 --- a/t/t6046-merge-skip-unneeded-updates.sh +++ b/t/t6426-merge-skip-unneeded-updates.sh diff --git a/t/t6047-diff3-conflict-markers.sh b/t/t6427-diff3-conflict-markers.sh index f4655bb358..f4655bb358 100755 --- a/t/t6047-diff3-conflict-markers.sh +++ b/t/t6427-diff3-conflict-markers.sh diff --git a/t/t3030-merge-recursive.sh b/t/t6430-merge-recursive.sh index d48d211a95..d48d211a95 100755 --- a/t/t3030-merge-recursive.sh +++ b/t/t6430-merge-recursive.sh diff --git a/t/t3031-merge-criscross.sh b/t/t6431-merge-criscross.sh index 3824756a02..3824756a02 100755 --- a/t/t3031-merge-criscross.sh +++ b/t/t6431-merge-criscross.sh diff --git a/t/t3032-merge-recursive-space-options.sh b/t/t6432-merge-recursive-space-options.sh index b56180ee4a..b56180ee4a 100755 --- a/t/t3032-merge-recursive-space-options.sh +++ b/t/t6432-merge-recursive-space-options.sh diff --git a/t/t3033-merge-toplevel.sh b/t/t6433-merge-toplevel.sh index e29c284b9b..e29c284b9b 100755 --- a/t/t3033-merge-toplevel.sh +++ b/t/t6433-merge-toplevel.sh diff --git a/t/t3034-merge-recursive-rename-options.sh b/t/t6434-merge-recursive-rename-options.sh index 3d9fae68c4..3d9fae68c4 100755 --- a/t/t3034-merge-recursive-rename-options.sh +++ b/t/t6434-merge-recursive-rename-options.sh diff --git a/t/t3035-merge-sparse.sh b/t/t6435-merge-sparse.sh index 74562e1235..74562e1235 100755 --- a/t/t3035-merge-sparse.sh +++ b/t/t6435-merge-sparse.sh diff --git a/t/t7607-merge-overwrite.sh b/t/t6436-merge-overwrite.sh index dd8ab7ede1..dd8ab7ede1 100755 --- a/t/t7607-merge-overwrite.sh +++ b/t/t6436-merge-overwrite.sh diff --git a/t/t7405-submodule-merge.sh b/t/t6437-submodule-merge.sh index aa33978ed2..aa33978ed2 100755 --- a/t/t7405-submodule-merge.sh +++ b/t/t6437-submodule-merge.sh diff --git a/t/t7613-merge-submodule.sh b/t/t6438-submodule-directory-file-conflicts.sh index 04bf4be7d7..04bf4be7d7 100755 --- a/t/t7613-merge-submodule.sh +++ b/t/t6438-submodule-directory-file-conflicts.sh diff --git a/t/t7609-merge-co-error-msgs.sh b/t/t6439-merge-co-error-msgs.sh index 5c8894d94f..5c8894d94f 100755 --- a/t/t7609-merge-co-error-msgs.sh +++ b/t/t6439-merge-co-error-msgs.sh |