summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r--test/udev-test.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index e4a4ddcda8..2835489238 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -60,6 +60,15 @@ REPLACE, KERNEL="ttyUSB0", NAME="visor"
EOF
},
{
+ desc => "subdirectory handling",
+ subsys => "tty",
+ devpath => "class/tty/ttyUSB0",
+ expected => "sub/direct/ory/visor" ,
+ conf => <<EOF
+REPLACE, KERNEL="ttyUSB0", NAME="sub/direct/ory/visor"
+EOF
+ },
+ {
desc => "place on bus of scsi partition",
subsys => "block",
devpath => "block/sda/sda3",