X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=test%2Fudev-test.pl;h=38ea0181f6c42b05795a9ce660ea07f31f089d30;hb=d5f91372dd3241f8b4bbe2a99aaaeda541a76bad;hp=6b7f515442531b102b29f80164637a9edcd8fef9;hpb=63ead27c228f9306f175b14a49df2415d09ece10;p=elogind.git diff --git a/test/udev-test.pl b/test/udev-test.pl index 6b7f51544..38ea0181f 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -259,6 +259,24 @@ EOF expected => "foo9" , conf => < "characters before the %c{N} substitution", + subsys => "block", + devpath => "block/sda/sda3", + expected => "my-foo9" , + conf => < "substitute the second to last argument", + subsys => "block", + devpath => "block/sda/sda3", + expected => "my-foo8" , + conf => < < "ignore SYSFS attribute whitespace", + subsys => "block", + devpath => "block/sda", + expected => "ignored", + conf => < "do not ignore SYSFS attribute whitespace", + subsys => "block", + devpath => "block/sda", + expected => "matched-with-space", + conf => <