X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Ft1411-reflog-show.sh;h=b9cb76654bd6cf0b7a910ec4c935c38a5f3bf9bc;hb=3ab15bfcc90fb8143cc838b2e27cf68d89965eaa;hp=6ac7734d79be21a82feeadff10064bb4ca7ad47b;hpb=3b8a1e1e455fd979a37107581099869113bca442;p=platform%2Fupstream%2Fgit.git diff --git a/t/t1411-reflog-show.sh b/t/t1411-reflog-show.sh index 6ac7734..b9cb766 100755 --- a/t/t1411-reflog-show.sh +++ b/t/t1411-reflog-show.sh @@ -171,4 +171,14 @@ test_expect_success 'reflog exists works' ' ! git reflog exists refs/heads/nonexistent ' +# The behavior with two reflogs is buggy and the output is in flux; for now +# we're just checking that the program works at all without segfaulting. +test_expect_success 'showing multiple reflogs works' ' + git log -g HEAD HEAD >actual +' + +test_expect_success 'showing multiple reflogs with an old date' ' + git log -g HEAD@{1979-01-01} HEAD >actual +' + test_done