Handle quoted local_part input to ${srs_encode }. Bug 2607
[exim.git] / test / runtest
index 93aa82fc942e955d4b7681c189339ce6930fe685..961b6ec628cc485110e162cf430e6f218190fb69 100755 (executable)
@@ -934,7 +934,7 @@ RESET_AFTER_EXTRA_LINE_READ:
 
   # SRS timestamps and signatures vary by hostname and from run to run
 
-  s/SRS0=....=..=[^=]+=[^@]+\@test.ex/SRS0=ZZZZ=YY=the.local.host.name=CALLER\@test.ex/;
+  s/SRS0=....=.[^=]?=([^=]+)=([^@]+)\@([^ ]+)/SRS0=ZZZZ=YY=$1=$2\@$3/;
 
 
   # ======== Output from the "fd" program about open descriptors ========