From f0142622b8b68d58694d0c97396bb24d0830c5df Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 11 Feb 2004 23:34:21 -0800 Subject: [PATCH] [PATCH] add a block device with a ! in the name, and a test for this. --- test/sys/block/rd!c0d0/dev | 1 + test/udev-test.pl | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/sys/block/rd!c0d0/dev diff --git a/test/sys/block/rd!c0d0/dev b/test/sys/block/rd!c0d0/dev new file mode 100644 index 00000000..fae0a505 --- /dev/null +++ b/test/sys/block/rd!c0d0/dev @@ -0,0 +1 @@ +8:0 diff --git a/test/udev-test.pl b/test/udev-test.pl index 0700e535..1bce6588 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -326,6 +326,16 @@ EOF expected => "visor" , conf => < "name test with ! in the name", + subsys => "block", + devpath => "block/rd!c0d0", + expected => "rd/c0d0" , + conf => <