summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-04-18 21:07:29 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-04-18 21:07:29 +0200
commitcf100ca71bf365d8898e97d4ec9dd05c3941cae8 (patch)
tree2e438c969b4de9f7eb8952209fef906a00112e93 /test
parent4278ab015d76876f61821b293df07e0c3746bfd5 (diff)
allow setting of MODE="0000"
Diffstat (limited to 'test')
-rwxr-xr-xtest/udev-test.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 2621e2b13a..fee62a6406 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1607,6 +1607,16 @@ EOF
KERNEL=="sda", TEST=="*/nr_requests", NAME="found-subdir"
EOF
},
+ {
+ desc => "TEST MODE=0000",
+ subsys => "block",
+ devpath => "/block/sda",
+ exp_name => "sda",
+ exp_perms => "0:0:0000",
+ rules => <<EOF
+KERNEL=="sda", MODE="0000"
+EOF
+ },
);
# set env