diff --git a/tests/scsihosttest.c b/tests/scsihosttest.c index eecb1c3ad1..eb5f522623 100644 --- a/tests/scsihosttest.c +++ b/tests/scsihosttest.c @@ -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;