summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-05-21 07:59:40 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-21 07:59:40 +0200
commitc19870519d0a23bbf7f5cf206cefab6418a9f4be (patch)
tree938d23ce5cb4a094505da39af93049c7968088ab /test
parent8cc6c96f1b8f77defb953e0d75de790d9737f0c4 (diff)
replace_chars: replace % character
Diffstat (limited to 'test')
-rwxr-xr-xtest/udev-test.pl22
1 files changed, 1 insertions, 21 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 36cbe8ac75..10d87ed54a 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -302,7 +302,7 @@ EOF
devpath => "/block/sda",
exp_name => "node12345678",
rules => <<EOF
-SUBSYSTEMS=="scsi", IMPORT="/bin/echo -e \' TEST_KEY=12345678 \\n TEST_key2=98765 \'", NAME="node\$env{TEST_KEY}"
+SUBSYSTEMS=="scsi", IMPORT="/bin/echo -e \' TEST_KEY=12345678\\n TEST_key2=98765\'", NAME="node\$env{TEST_KEY}"
KERNEL=="ttyUSB0", NAME="visor"
EOF
},
@@ -1018,26 +1018,6 @@ KERNEL=="ttyUSB[0-9]*", NAME="ttyUSB%n", SYMLINK+="%3s{dev}"
EOF
},
{
- desc => "symlink with '%' in name",
- subsys => "tty",
- devpath => "/class/tty/ttyUSB0",
- exp_name => "percent%sign",
- exp_target => "ttyUSB0",
- rules => <<EOF
-KERNEL=="ttyUSB[0-9]*", NAME="ttyUSB%n", SYMLINK+="percent%%sign"
-EOF
- },
- {
- desc => "symlink with '%' in name",
- subsys => "tty",
- devpath => "/class/tty/ttyUSB0",
- exp_name => "%ttyUSB0_name",
- exp_target => "ttyUSB0",
- rules => <<EOF
-KERNEL=="ttyUSB[0-9]*", NAME="ttyUSB%n", SYMLINK+="%%%k_name"
-EOF
- },
- {
desc => "program result substitution (numbered part of)",
subsys => "block",
devpath => "/block/sda/sda3",