X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2Fudev-test.pl;h=3f9a848490297777e6b55ec6ecee21c48554f3d8;hp=593e34e885600b26f84e8d4251492928f205dc36;hb=18ebc4305034401648e343b27981ef1badafef1c;hpb=16ac31aaee34f1085daf1c43a8645b174712b2d4 diff --git a/test/udev-test.pl b/test/udev-test.pl index 593e34e88..3f9a84849 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -35,6 +35,9 @@ 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 = ( { @@ -1260,7 +1263,6 @@ 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}")) {