summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-23 22:25:13 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:02 -0700
commitf3b04a2e0a041aa5546284c5bfc2022ab3e8b15f (patch)
treed0f1da5b8f8be379d315fd5f07ce33802bf84bd3 /test
parente5fbfe0a13e11c08ed72b67fa4e72a93bcd5de37 (diff)
[PATCH] added ability to put format specifiers in the CALLOUT program string.
Diffstat (limited to 'test')
-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 613aa792d4..02f8ff6319 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -92,6 +92,15 @@ CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n special-device", ID="special-devic",
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n special-device", ID="special-*", NAME="%c-%n"
EOF
},
+ {
+ desc => "callout program subtitution",
+ subsys => "block",
+ devpath => "block/sda/sda3",
+ expected => "test-0:0:0:0" ,
+ conf => <<EOF
+CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n test-%b", ID="test-*", NAME="%c"
+EOF
+ },
);
# set env