mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
tests: scsihost: Don't set LIBVIRT_FAKE_SYSFS_DIR
The test program is not preloading any of the mock libraries that read that environment variable, so setting it is pointless.
This commit is contained in:
parent
8715120e4d
commit
8e3122faf5
@ -262,8 +262,6 @@ mymain(void)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
setenv("LIBVIRT_FAKE_SYSFS_DIR", fakesysfsdir, 1);
|
|
||||||
|
|
||||||
if (init_scsihost_sysfs(fakesysfsdir) < 0) {
|
if (init_scsihost_sysfs(fakesysfsdir) < 0) {
|
||||||
fprintf(stderr, "Failed to create fakesysfs='%s'\n", fakesysfsdir);
|
fprintf(stderr, "Failed to create fakesysfs='%s'\n", fakesysfsdir);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user