Code

Merge branch 'maint-1.6.1' into maint-1.6.2
[git.git] / t / t6009-rev-list-parent.sh
index be3d238d996fed911d6098fad01ca25345059da6..c8a96a9a994badde602c8bf7a7decda048a00525 100755 (executable)
@@ -27,11 +27,11 @@ test_expect_success setup '
        git log --pretty=oneline --abbrev-commit
 '
 
-test_expect_failure 'one is ancestor of others and should not be shown' '
+test_expect_success 'one is ancestor of others and should not be shown' '
 
        git rev-list one --not four >result &&
        >expect &&
-       diff -u expect result
+       test_cmp expect result
 
 '