From: patmans@us.ibm.com Date: Thu, 4 Mar 2004 08:55:22 +0000 (-0800) Subject: [PATCH] add tests for NAME="foo-%c{N}" X-Git-Tag: 022~32 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c963dc4d8a65a8f2f23ae329f2088fabbf3303;p=systemd [PATCH] add tests for NAME="foo-%c{N}" Here is a patch for some new tests. --- diff --git a/test/udev-test.pl b/test/udev-test.pl index 6b7f5154..60cf1690 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 => <