X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7501-commit.sh;h=7940901d47fd457cda77ee333aa40145433be4d4;hb=c444c16589f95ac22d8e3ffe603cd7f0613512ce;hp=a5297012410271f64398124da6e4c7dd8eec3154;hpb=d0605072911a4c93a7eacf1fb55e79227c457e34;p=git.git diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index a52970124..7940901d4 100755 --- a/t/t7501-commit.sh +++ b/t/t7501-commit.sh @@ -117,7 +117,11 @@ test_expect_success \ test_expect_success \ "overriding author from command line" \ "echo 'gak' >file && \ - git commit -m 'author' --author 'Rubber Duck ' -a" + git commit -m 'author' --author 'Rubber Duck ' -a >output 2>&1" + +test_expect_success \ + "commit --author output mentions author" \ + "grep Rubber.Duck output" test_expect_success PERL \ "interactive add" \