Test rig

Julien ÉLIE julien at trigofacile.com
Sun Jul 5 20:51:15 UTC 2015

Hi Richard,

>> https://github.com/ewxrjk/inntest

That's a pretty useful work, thanks!

> Now with HTML output, for example:
> http://www.greenend.org.uk/rjk/junk/news/innfeed.html

Good to know that the outcome column is all OK.
Regarding the response codes:
- I think that's OK for 235 (article accepted) instead of 437 (rejected) 
for IHAVE commands in the examples you give (malformed From: and 
Expires: headers, and empty body) in order to be conservative in what 
has already been injected into Usenet.

- Empty Followup-To: header with POST -> does the resulting article 
<4Dd2+P3h5tnpEkLjnDr9qhGr at test.terraraq.uk> contain that empty header? 
nnrpd normally removes it.

- Malformed From: header with POST -> could you please tell what is the 
malformed header you tried?  I think nnrpd should enforce a valid 
syntax, so this one is a real bug.

- 435/438/439 instead of 501 to reject articles sent via 
IHAVE/CHECK/TAKETHIS is the right legacy behaviour.  Doing otherwise 
would break backwards compatibility so it shouldn't be encouraged right 
now.  Maybe in the future...

Thanks again for your test rig!

Julien ÉLIE

« J'ai fait tous les calculs. Ils confirment l'opinion des
   spécialistes : notre idée est irréalisable. Il ne me reste plus
   qu'une chose à faire : la réaliser. » (Pierre-Georges
   Latécoère, p1906, entrepreneur de l'aviation)

More information about the inn-workers mailing list