Merge branch 'jc/maint-refs-dangling'
[gitweb.git] / t / t7501-commit.sh
index a5297012410271f64398124da6e4c7dd8eec3154..7940901d47fd457cda77ee333aa40145433be4d4 100755 (executable)
@@ -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 <rduck@convoy.org>' -a"
+        git commit -m 'author' --author 'Rubber Duck <rduck@convoy.org>' -a >output 2>&1"
+
+test_expect_success \
+       "commit --author output mentions author" \
+       "grep Rubber.Duck output"
 
 test_expect_success PERL \
        "interactive add" \