about summary refs log tree commit homepage
path: root/t/mda.t
diff options
context:
space:
mode:
Diffstat (limited to 't/mda.t')
-rw-r--r--t/mda.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/mda.t b/t/mda.t
index 755864ca..de30b125 100644
--- a/t/mda.t
+++ b/t/mda.t
@@ -64,6 +64,12 @@ EOF
                 local $ENV{GIT_DIR} = $maindir;
                 my $rev = `git rev-list HEAD`;
                 like($rev, qr/\A[a-f0-9]{40}/, "good revision committed");
+                chomp $rev;
+                my $cmt = `git cat-file commit $rev`;
+                like($cmt, qr/^author Me <me\@example\.com> 0 \+0000\n/m,
+                        "author info set correctly");
+                like($cmt, qr/^committer test <test-public\@example\.com>/m,
+                        "committer info set correctly");
         }
 
         # ensure failures work