<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 29, 2017 at 10:38 AM, Scott Kruger <span dir="ltr"><<a href="mailto:kruger@txcorp.com" target="_blank">kruger@txcorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">rm $PETSC_ARCH/tests/<path_to_fil<wbr>e>/<file><br>
<br>
<br>
I assume you really mean something else, specifically related to the generated test script, but there isn't enough information to answer that.<br>
<br>
Or more specifically, the test language was not written to generate scripts that have an `rm` command in them, so perhaps explaining why an extension would be a good idea.]<br></blockquote><div><br></div><div>I think what Stefano means is the following;</div><div><br></div><div>  I write a test for the HDF5 Viewer. It creates a file called "vector.dat". I want it removed at the end of the test.</div><div><br></div><div>I think the answer is, the test directory is blown away, so as long as the file is in that temp dir, you are fine.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Scott<br>
<br>
<br>
On 11/29/17 6:02 AM, Stefano Zampini wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How can I remove a file created by the executable I'm testing with the new test harness?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Stefano<br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Tech-X Corporation               <a href="mailto:kruger@txcorp.com" target="_blank">kruger@txcorp.com</a><br>
5621 Arapahoe Ave, Suite A       Phone: <a href="tel:%28720%29%20974-1841" value="+17209741841" target="_blank">(720) 974-1841</a><br>
Boulder, CO 80303                Fax:   <a href="tel:%28303%29%20448-7756" value="+13034487756" target="_blank">(303) 448-7756</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>