mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user