summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-26 04:35:32 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-10-26 04:35:32 +0100
commitc6243a414e5ea233862445db0e57d6033879985f (patch)
tree5d4ff676db2e50efde0e4722356d32e52bb198b2 /test/udev-test.pl
parent6493e655f7387a37ad6e8cb928afc1c1a5c1a454 (diff)
test: add RUN+="socket: ..." to a test to run monitor code
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 767f6adeb4..096977a611 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -36,7 +36,7 @@ my @tests = (
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda",
exp_name => "boot_disk" ,
rules => <<EOF
-SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", NAME="boot_disk%n"
+SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", NAME="boot_disk%n", RUN+="socket:@/org/kernel/udev/monitor"
KERNEL=="ttyACM0", NAME="modem"
EOF
},
@@ -1663,7 +1663,7 @@ EOF
exp_name => "sda-8741C4G-end",
exp_perms => "0:0:0660",
rules => <<EOF
-KERNEL=="sda", NAME="%k-%s{[dmi/id]product_name}-end"
+KERNEL=="sda", NAME="%k-%s{[dmi/id]product_name}-end", RUN+="socket:@/org/kernel/udev/monitor"
EOF
},