mirror of https://gitee.com/openkylin/libvirt.git
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;
|
||||
}
|
||||
|
||||
setenv("LIBVIRT_FAKE_SYSFS_DIR", fakesysfsdir, 1);
|
||||
|
||||
if (init_scsihost_sysfs(fakesysfsdir) < 0) {
|
||||
fprintf(stderr, "Failed to create fakesysfs='%s'\n", fakesysfsdir);
|
||||
goto cleanup;
|
||||
|
|
Loading…
Reference in New Issue