mirror of https://gitee.com/openkylin/libvirt.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 <mprivozn@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
568887a32f
commit
1cb23be2a5
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue