X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F14_control_at_submit.t;h=6688f53c97aa8d1f78d15aab202d3115098d376a;hb=4c244879af2b9e8c0055968d7ffb054646cb7607;hp=38ea9d864181f78c2c3560be0a8b3b39824e9923;hpb=68fcaca8516323cd542d544a0585d7ab0db0900f;p=debbugs.git diff --git a/t/14_control_at_submit.t b/t/14_control_at_submit.t index 38ea9d8..6688f53 100644 --- a/t/14_control_at_submit.t +++ b/t/14_control_at_submit.t @@ -1,7 +1,7 @@ # -*- mode: cperl;-*- # $Id: 05_mail.t,v 1.1 2005/08/17 21:46:17 don Exp $ -use Test::More tests => 120; +use Test::More tests => 122; use warnings; use strict; @@ -140,6 +140,21 @@ ok(system('sh','-c','find '.$sendmail_dir.q( -type f | xargs grep -q "Subject: P $status = read_bug(bug=>2); ok($status->{subject} eq 'this is a new title','bug 2 retitled at submit@ time'); +send_message(to => '1@bugs.something', + headers => [To => '1@bugs.something', + From => 'foo@bugs.something', + Subject => 'Testing control at 1@bugs.something', + ], + body => <1); +ok($status->{subject} eq 'this is now the title of bug 1','bug 1 retitled at 1@ time'); + # now we're going to go through and methododically test all of the control commands.