4 Commits

Author SHA1 Message Date
Richard W.M. Jones
b050d7e4bf valgrind: Write separate log files in tmp/valgrind-<DATE>-<PID>.log
Current code wrote a single valgrind.log in the top-level directory.
This was overwritten with each valgrinded program, which wasn't much
use.  The new version writes multiple separate valgrind-*.log files
containing the date and PID (so each is unique).

It would nice if valgrind could delete log files that don't contain
errors, but this doesn't appear to be possible.
2013-04-01 11:35:26 +01:00
Richard W.M. Jones
a3ce000599 tmp: Ignore libguestfsXXXXXX temporary files in tmp dir. 2012-09-17 22:52:53 +01:00
Richard W.M. Jones
5479b8db58 ./run: Write temporary file in tmp directory.
We have a new 'tmp' directory under the top level dir for temporary
files.  Use it for the temporary output from the ./run script.
2012-09-17 22:52:40 +01:00
Richard W.M. Jones
834747a85d build: Create new 'tmp' directory for tests.
Having a separate directory means:

(1) It's easy to clean up orphaned temporary files, the appliance,
    etc.

(2) You can put an SELinux label on this directory so that qemu can
    write to it when you're using sVirt and SELinux is enforcing:

    chcon --reference=/tmp tmp
2012-09-14 15:53:53 +01:00