summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/udev-test.pl')
-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