<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 3 March 2015 at 14:52, Antony Antony <span dir="ltr">&lt;<a href="mailto:antony@phenome.org" target="_blank">antony@phenome.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Tue, Mar 03, 2015 at 02:39:12PM -0500, Andrew Cagney wrote:<br>
&gt; On 3 March 2015 at 14:08, Paul Wouters &lt;<a href="mailto:paul@nohats.ca" target="_blank">paul@nohats.ca</a>&gt; wrote:<br>
&gt; &gt; On Tue, 3 Mar 2015, Antony Antony wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; can you push this change to a branch first? and do test run?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Yes that would be good for now.<br>
&gt; &gt;<br>
&gt; &gt;&gt; Also if you push to a branch do you mind if add some changes to it?<br>
&gt;<br>
&gt; I was planning on running:<br>
&gt;<br>
&gt;     find * -type f -print | xargs -1 sed -i<br>
&gt; s/STATE_PARENT_I1/STATE_V2_INIT_I/g ...<br>
&gt;<br>
&gt; so everything, including pluto_constans.h, gets updated (things won&#39;t<br>
&gt; compile if it doesn&#39;t).<br>
&gt;<br>
&gt; However, beyond a sniff test (ikev2-05-basic), I&#39;m not sure if there<br>
&gt; is benefit in either creating a branch or running a full testsuite.<br>
<br></span></blockquote><div><br><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
</span>There  are details to take care STATE_IKESA_DEL, and drift in test console output.<br>
So I think it is more than &#39;a&#39; sed line. Unless you want to dump that fixing console work on others:)<br>
libreswan/testing/pluto (master)$ grep STATE_PARENT */*<br>
<br></blockquote><div><br>Hmm, there&#39;s seems to be something going very wrong here.  We&#39;ve essentially got a 
black-box testsuite.  It shoudn&#39;t even be trying to verify nitty-gritty internals such as the names of states and state transitions.  This isn&#39;t to say that there shouldn&#39;t be a test to verify state names/transitions, just not every single test.<br><br></div><div>I&#39;ll push a sanitizer to remove these internals by default.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
runing full test run is a good idea. See STATE_PARENT in console output<br>
<span><font color="#888888"><br>
-antony<br>
</font></span></blockquote></div><br></div></div>