mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
[PATCH] Remove unnecessary sort from t6001 testcase
This patch removes an unnecessary sort from the t6001 testcase. Sorts were previously necessary when testing non --merge-order cases because the output order wasn't entirely deterministic unless commit date was fixed. However, commit dates are now fixed, so the need for a sort has disappeared. So the sort has been removed. Signed-off-by: Jon Seymour <jon.seymour@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3ed3567890
commit
9d89d19c48
|
@ -408,17 +408,17 @@ test_output_expect_success "max-count 10 - merge order" 'git-rev-list --merge-or
|
||||||
| b2
|
| b2
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
test_output_expect_success "max-count 10 - non merge order" 'git-rev-list --max-count=10 l5 | entag | sort' <<EOF
|
test_output_expect_success "max-count 10 - non merge order" 'git-rev-list --max-count=10 l5' <<EOF
|
||||||
a2
|
|
||||||
a3
|
|
||||||
a4
|
|
||||||
b3
|
|
||||||
b4
|
|
||||||
c2
|
|
||||||
c3
|
|
||||||
l3
|
|
||||||
l4
|
|
||||||
l5
|
l5
|
||||||
|
l4
|
||||||
|
l3
|
||||||
|
a4
|
||||||
|
b4
|
||||||
|
a3
|
||||||
|
a2
|
||||||
|
c3
|
||||||
|
c2
|
||||||
|
b3
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
test_output_expect_success '--max-age=c3, no --merge-order' "git-rev-list --max-age=$(commit_date c3) l5" <<EOF
|
test_output_expect_success '--max-age=c3, no --merge-order' "git-rev-list --max-age=$(commit_date c3) l5" <<EOF
|
||||||
|
|
Loading…
Reference in a new issue