1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 06:25:25 +03:00
systemd-stable/test
kay.sievers@vrfy.org 0345b86235 [PATCH] add enum tests
On Fri, Sep 10, 2004 at 01:09:07PM -0700, Greg KH wrote:
> On Tue, Sep 07, 2004 at 01:19:34PM +0200, David Zeuthen wrote:
> >
> >         KERNEL="sr*", NAME="%k", SYMLINK="cdrom%e"
> >         KERNEL="scd*", NAME="%k", SYMLINK="cdrom%e"
> >         KERNEL="pcd*", NAME="%k", SYMLINK="cdrom%e"
> >         KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="\%k", SYMLINK="cdrom%e"
> >         KERNEL="fd[0-9]", NAME="%k", SYMLINK="floppy%e"
> >         KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy", NAME=\"%k", SYMLINK="floppy%e"
> >
> > New patch is attached.
>
> Nice, I've applied this.
>
> How about sending a patch for the test/udev-test.pl script that adds a
> test for this new paramater, so we make sure to not break it in the
> future.

Here are the tests for the enumeration character %e. I've added a option
string to be able to do a whole sequence of tests without node removal,
so we can skip the "remove" event and get an increasing number to append
to the name. After the sequence test the whole directory is cleaned for
the next tests.
2005-04-26 21:37:01 -07:00
..
sys [PATCH] add test for ! in partition name 2005-04-26 21:35:47 -07:00
udevd-test [PATCH] udevd test script 2005-04-26 21:35:15 -07:00
devd_test [PATCH] add devd_test script. 2005-04-26 21:35:16 -07:00
ignore_test [PATCH] fix log option code so that it actually works for all udev programs. 2005-04-26 21:32:26 -07:00
label_test [PATCH] udev - switch SYSFS_file to SYSFS{file} 2005-04-26 21:32:28 -07:00
modifier_test [PATCH] convert the test shell scripts to the config file format. 2005-04-26 21:13:15 -07:00
net_test [PATCH] tweak net_test a bit. 2005-04-26 21:35:14 -07:00
replace_test [PATCH] convert the test shell scripts to the config file format. 2005-04-26 21:13:15 -07:00
test.all [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
test.block [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
test.tty [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
testd.block [PATCH] new testd.block script for debugging. 2005-04-26 21:13:18 -07:00
topo_test [PATCH] convert the test shell scripts to the config file format. 2005-04-26 21:13:15 -07:00
udev-test.pl [PATCH] add enum tests 2005-04-26 21:37:01 -07:00
udev.permissions [PATCH] Added expanded tests to the test framework from Leann Ogasawara <ogasawara@osdl.org> 2005-04-26 21:35:15 -07:00
udevd_test.sh [PATCH] convert udevsend/udevd to DGRAM and single-threaded 2005-04-26 21:32:26 -07:00