diff options
author | greg@kroah.com <greg@kroah.com> | 2004-12-02 22:16:54 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:43:27 -0700 |
commit | ad89f2be3b045f37b7e17de10f5ad46dbb09664f (patch) | |
tree | bf4d328f347a94937439fa879114c352519c95e0 /test | |
parent | aa8666f77b1f605dced47a822a8b74b9c1326fed (diff) |
[PATCH] comment out ability to run udev-test.pl with valgrind
Diffstat (limited to 'test')
-rw-r--r-- | test/udev-test.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index d584579584..c2d8e27a52 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 = ( { @@ -1259,7 +1262,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}")) { |