Commit Graph

6 Commits

Author SHA1 Message Date
rml@tech9.net fd14ee04ef [PATCH] udev: cool test scripts again
> But the test.block script doesn't catch any partitions on the block
> devices :)

Never happy!

        [19:07:52]root@phantasy:~/src/udev/udev# ./test.block
        [19:13:37]root@phantasy:~/src/udev/udev# ls /udev/hd*
        ls: /udev/hd*: No such file or directory
        [19:13:42]root@phantasy:~/src/udev/udev# ./test.block
        [19:13:53]root@phantasy:~/src/udev/udev# ls /udev/hd*
        /udev/hda   /udev/hda2  /udev/hda4  /udev/hda6  /udev/hdd
        /udev/hda1  /udev/hda3  /udev/hda5  /udev/hdc

test.block now recurses /sys/block, looking for partitions.  Should add
all drives and all partitions.
2005-04-26 21:01:41 -07:00
rml@mvista.com 5892ceb540 [PATCH] udev: cool test scripts
This patch changes test.tty and test.block to add/remove each tty and
block device, respectively, on the system.  Great way to
populate/unpopulate udev rapidly.

Its just a simple for loop over the sysfs entries.
2005-04-26 21:01:41 -07:00
greg@kroah.com 577aade748 [PATCH] test.block changes. 2005-04-26 21:01:41 -07:00
greg@kroah.com 08daec117c [PATCH] more test stuff... 2005-04-26 21:01:40 -07:00
greg@kroah.com b4c1dcf912 [PATCH] block test 2005-04-26 21:01:39 -07:00
greg@kroah.com 405f634279 [PATCH] split the tests up into different files. 2005-04-26 21:01:39 -07:00
Renamed from test (Browse further)