summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2003-11-24 22:27:23 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:04 -0700
commit5499d319057de0ca6407e07ef99069610633f56f (patch)
tree684f38430e28020853f0170388d741efe76d9de3
parent6968d494d76ea0e6e326e23948d2428b53faccf8 (diff)
[PATCH] udev-test.pl add subdir test
03-udev-test.pl-add-subdir-test.diff o duplicate existing test and change it to explicitely test the subdir handling
-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",