From: Michal Privoznik Date: Tue, 11 Apr 2017 07:50:26 +0000 (+0200) Subject: fdstreamtest: Rename tempdir X-Git-Tag: v3.3.0-rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cb23be2a526184eb1508dc1d3008fb7cadf052d;p=thirdparty%2Flibvirt.git fdstreamtest: Rename tempdir Because of copy-paste the temporary directory used for this test is called "fakesysdir". That's probably misleading. Signed-off-by: Michal Privoznik Reviewed-by: John Ferlan --- diff --git a/tests/fdstreamtest.c b/tests/fdstreamtest.c index 4605845d3d..5e82daccfe 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(); }