On Sun, 2 Mar 2008, Julian Seward wrote: >>> +- Discuss on the Valgrind mailing list the modificaiton of >>> tests/vg_regtest + such that it ignores files ending in ~ or #. >> >> Ok, here we go :) Is this an emacs temporary file thing? > > Ah yes, this is a good point. I remember being totally confused > by this, and wasting a lot of time trying to figure out what was > going on. Then I forgot about it :-( > > Yes it is: when editing a file x.y, emacs creates x.y~ as a backup > and #x.y# as auto-saves. Maybe vi does similar? So when you edit > by hand a .std*.exp file to change the expected output, you get a > .std*.exp~ file, which matches -- so the regtest still appears to > work even if the tool's output hasn't changed. > > Perhaps it would be useful for vg_regtest to warn about and ignore > *exp files with ~ and # in their names.
I just committed a change to ignore them. > What about vi, though? It sensibly creates a dot file -- .x.y.swp -- and so doesn't cause problems. N ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers