summaryrefslogtreecommitdiffstats
path: root/src/guestfs.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-14 14:42:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-14 15:53:53 +0100
commit834747a85d80ce02e9deca32be89199c10cd74fd (patch)
treecf26afa77dbac15f67d010a30c71506f334eca7f /src/guestfs.pod
parentaa9e0057b19e29f76c9a81f9aebeeb1cb5bf1fdb (diff)
downloadlibguestfs-834747a85d80ce02e9deca32be89199c10cd74fd.tar.gz
libguestfs-834747a85d80ce02e9deca32be89199c10cd74fd.tar.xz
libguestfs-834747a85d80ce02e9deca32be89199c10cd74fd.zip
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
Diffstat (limited to 'src/guestfs.pod')
-rw-r--r--src/guestfs.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod
index aee83608..45c81db5 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -3287,6 +3287,18 @@ will work with libguestfs.
Tests.
+=item C<tmp>
+
+Used for temporary files when running the tests (instead of C</tmp>
+etc). The reason is so that you can run multiple parallel tests of
+libguestfs without having one set of tests overwriting the appliance
+created by another.
+
+If you are using libvirt + sVirt with SELinux enforcing, then you have
+to label this directory:
+
+ chcon --reference=/tmp tmp
+
=item C<tools>
Command line tools written in Perl (L<virt-win-reg(1)> and many others).