Skip to content

Commit 013f168

Browse files
committed
Merge branch 'ar/test-cleanup'
Test clean-up. * ar/test-cleanup: t7527: use test_when_finished in 'case insensitive+preserving' t6422: drop commented out code t6003: uncomment test '--max-age=c3, --topo-order'
2 parents c253d61 + a87a20c commit 013f168

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

t/t6003-rev-list-topo-order.sh

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -326,19 +326,16 @@ a2
326326
c3
327327
EOF
328328

329-
#
330-
# this test fails on --topo-order - a fix is required
331-
#
332-
#test_output_expect_success '--max-age=c3, --topo-order' "git rev-list --topo-order --max-age=$(commit_date c3) l5" <<EOF
333-
#l5
334-
#l4
335-
#l3
336-
#a4
337-
#c3
338-
#b4
339-
#a3
340-
#a2
341-
#EOF
329+
test_output_expect_success '--max-age=c3, --topo-order' "git rev-list --topo-order --max-age=$(commit_date c3) l5" <<EOF
330+
l5
331+
l4
332+
l3
333+
a4
334+
c3
335+
b4
336+
a3
337+
a2
338+
EOF
342339

343340
test_output_expect_success 'one specified head reachable from another a4, c3, --topo-order' "list_duplicates git rev-list --topo-order a4 c3" <<EOF
344341
EOF

t/t6422-merge-rename-corner-cases.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,6 @@ test_conflicts_with_adds_and_renames() {
11591159
# 4) There should not be any three~* files in the working
11601160
# tree
11611161
test_setup_collision_conflict () {
1162-
#test_expect_success "setup simple $sideL/$sideR conflict" '
11631162
git init simple_${sideL}_${sideR} &&
11641163
(
11651164
cd simple_${sideL}_${sideR} &&
@@ -1236,7 +1235,6 @@ test_conflicts_with_adds_and_renames() {
12361235
fi &&
12371236
test_tick && git commit -m R
12381237
)
1239-
#'
12401238
}
12411239

12421240
test_expect_success "check simple $sideL/$sideR conflict" '

t/t7527-builtin-fsmonitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ test_expect_success "submodule absorbgitdirs implicitly starts daemon" '
910910
# the file/directory.
911911
#
912912
test_expect_success CASE_INSENSITIVE_FS 'case insensitive+preserving' '
913-
# test_when_finished "stop_daemon_delete_repo test_insensitive" &&
913+
test_when_finished "stop_daemon_delete_repo test_insensitive" &&
914914
915915
git init test_insensitive &&
916916

0 commit comments

Comments
 (0)