[libvirt] [PATCH 01/38] fdstreamtest: Rename tempdir

Michal Privoznik mprivozn at redhat.com
Thu Apr 13 13:31:09 UTC 2017


Because of copy-paste the temporary directory used for this test
is called "fakesysdir". That's probably misleading.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 tests/fdstreamtest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/fdstreamtest.c b/tests/fdstreamtest.c
index 4605845..5e82dac 100644
--- a/tests/fdstreamtest.c
+++ b/tests/fdstreamtest.c
@@ -314,7 +314,7 @@ static int testFDStreamWriteNonblock(const void *data)
     return testFDStreamWriteCommon(data, false);
 }
 
-#define SCRATCHDIRTEMPLATE abs_builddir "/fakesysfsdir-XXXXXX"
+#define SCRATCHDIRTEMPLATE abs_builddir "/fdstreamdir-XXXXXX"
 
 static int
 mymain(void)
@@ -323,7 +323,7 @@ mymain(void)
     int ret = 0;
 
     if (!mkdtemp(scratchdir)) {
-        virFilePrintf(stderr, "Cannot create fakesysfsdir");
+        virFilePrintf(stderr, "Cannot create fdstreamdir");
         abort();
     }
 
-- 
2.10.2




More information about the libvir-list mailing list