mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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…
x
Reference in New Issue
Block a user