chiark / gitweb /
[PATCH] added asterix rules to the gentoo file.
[elogind.git] / test / udev-test.pl
index c2d8e27a52003ca25e6186a52d6e78b546061b70..593e34e885600b26f84e8d4251492928f205dc36 100644 (file)
@@ -35,9 +35,6 @@ my $perm      = "udev.permissions";
 my $main_conf = "udev-test.conf";
 my $conf_tmp  = "udev-test.rules";
 
-# uncomment following line to run udev with valgrind.
-# Should make this a runtime option to the script someday...
-#my $udev_bin  = "valgrind --tool=memcheck --leak-check=yes   ../udev";
 
 my @tests = (
        {
@@ -1156,6 +1153,7 @@ $ENV{UDEV_TEST} = "yes";
 $ENV{SYSFS_PATH} = $sysfs;
 $ENV{UDEV_CONFIG_FILE} = $main_conf;
 $ENV{UDEV_NO_DEVD} = "yes";
+$ENV{UDEV_NO_HOTPLUGD} = "yes";
 
 
 sub udev {
@@ -1262,6 +1260,7 @@ sub run_test {
 
 
        udev("add", $config->{subsys}, $config->{devpath}, \$config->{conf});
+
        if ((-e "$PWD/$udev_root$config->{exp_name}") ||
            (-l "$PWD/$udev_root$config->{exp_name}")) {