Hi,

On Wed, 29 Feb 2012, Jean Delvare wrote:
> No objection in principle, but can we stick to [email protected] for fake 
> from/sender address as the test suite already uses? noreply.org is an 
> existing domain so it seems unfair to use it, even if only in a test 
> suite.

Sure, updated patch attached.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/
>From 04e906386b06ba71c981e813d09afab8b7310e9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <[email protected]>
Date: Thu, 23 Feb 2012 23:35:43 +0100
Subject: [PATCH] Force the sender in the "quilt mail" test suite
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

That way it works even on misconfigured systems that do not have a FQDN
configured and where "hostname -f" just returns the non-qualified hostname.

Bug-Debian: http://bugs.debian.org/393985
Signed-off-by: Raphaël Hertzog <[email protected]>
---
 test/mail.test |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/mail.test b/test/mail.test
index cc8736a..4d2aec0 100644
--- a/test/mail.test
+++ b/test/mail.test
@@ -10,7 +10,7 @@
 
 	$ cat no-subject > patches/1.diff
 	$ ls patches/ > series
-	$ quilt mail --mbox mbox --prefix "test" --subject "This is a test" -m "Message"
+	$ quilt mail --sender [email protected] --mbox mbox --prefix "test" --subject "This is a test" -m "Message"
 	> Unable to extract a subject header from patches/1.diff
 
 	$ cat - no-subject > patches/1.diff
@@ -19,7 +19,7 @@
 	< Acked-by: Dummy <[email protected]>
 	<
 
-	$ quilt mail --mbox mbox --prefix "test" -m "Message"
+	$ quilt mail --sender [email protected] --mbox mbox --prefix "test" -m "Message"
 	> Introduction has no subject header
 
 	$ cat - no-subject > patches/2.diff
-- 
1.7.9.1

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to