From 56c963dc4d8a65a8f2f23ae329f2088fabbf3303 Mon Sep 17 00:00:00 2001 From: "patmans@us.ibm.com" Date: Thu, 4 Mar 2004 00:55:22 -0800 Subject: [PATCH] [PATCH] add tests for NAME="foo-%c{N}" Here is a patch for some new tests. --- test/udev-test.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/udev-test.pl b/test/udev-test.pl index 6b7f51544..60cf16901 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 => <