X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmda.t;h=5dbcec63fc100dfa5c60e84e0c82353a58c23d69;hb=f826a7830bce67c0f8c653baf97f7769bb2c57d9;hp=32154bdce7e597b12607d112dab7047640e31943;hpb=13eda978e8937065575623d045f78592cbb6d022;p=public-inbox.git diff --git a/t/mda.t b/t/mda.t index 32154bdc..5dbcec63 100644 --- a/t/mda.t +++ b/t/mda.t @@ -1,5 +1,5 @@ -# Copyright (C) 2014-2015 all contributors -# License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) +# Copyright (C) 2014-2018 all contributors +# License: AGPL-3.0+ use strict; use warnings; use Test::More; @@ -187,6 +187,7 @@ EOF # now train it local $ENV{GIT_AUTHOR_EMAIL} = 'trainer@example.com'; local $ENV{GIT_COMMITTER_EMAIL} = 'trainer@example.com'; + local $ENV{GIT_COMMITTER_NAME} = undef; IPC::Run::run([$learn, "spam"], \$msg); is($?, 0, "no failure from learning spam"); IPC::Run::run([$learn, "spam"], \$msg);