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:
Andrea Bolognani 2015-12-04 13:45:17 +01:00
parent 8715120e4d
commit 8e3122faf5
1 changed files with 0 additions and 2 deletions

View File

@ -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;