temp = getenv("UDEV_TEST");
if (temp != NULL) {
/* hm testing is happening, use the specified values, if they are present */
temp = getenv("UDEV_TEST");
if (temp != NULL) {
/* hm testing is happening, use the specified values, if they are present */
if (temp)
strncpy(sysfs_path, temp, sizeof(sysfs_path));
temp = getenv("UDEV_CONFIG_DIR");
if (temp)
strncpy(sysfs_path, temp, sizeof(sysfs_path));
temp = getenv("UDEV_CONFIG_DIR");