chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bleah, more merge fixes...
[elogind.git]
/
test
/
udev-test.pl
diff --git
a/test/udev-test.pl
b/test/udev-test.pl
index 593e34e885600b26f84e8d4251492928f205dc36..3f9a848490297777e6b55ec6ecee21c48554f3d8 100644
(file)
--- 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";
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 = (
{
my @tests = (
{
@@
-1260,7
+1263,6
@@
sub run_test {
udev("add", $config->{subsys}, $config->{devpath}, \$config->{conf});
udev("add", $config->{subsys}, $config->{devpath}, \$config->{conf});
-
if ((-e "$PWD/$udev_root$config->{exp_name}") ||
(-l "$PWD/$udev_root$config->{exp_name}")) {
if ((-e "$PWD/$udev_root$config->{exp_name}") ||
(-l "$PWD/$udev_root$config->{exp_name}")) {