From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Wed, 27 Nov 2002 19:38:37 +0000 Subject: Re: About test suites for linux hot plug Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org >> Thanks for your perfect work! I am interested in the Linux hot swap >>project and now doing some validation work about the compactPCI hot >>swap. So could you please tell me whether there are some test suites >>for linux hot plug, if not, I'd like to write some test suites for the >>project! To the extent that such tests cover things like verifying that streams of hotplug events are handled consistently, the latest CVS does have a simple facility to log events to files like /var/log/hotplug/pci.events (for CardBus, cPCI, hotplugPCI, etc) or /var/log/hotplug/events (for any event that doesn't have an agent enabled). So you can collect hotplug events "live", and then (by writing simple software) play them back later ... Or just notice what kinds of hotplug events don't yet have /etc/hotplug/*.agent code. I hope that facility will evolve -- and not primarily for testing support. For example, I'd be interested in seeing some daemon thread monitoring /var/log/hotplug/input.events that's set up as a named fifo, as one way to solve hotplug's "need multiple security domains" issue. (That's an area where anyone who's familiar with those user mode APIs could contribute useful "seed" code in C, or likely even Perl ...) > If you take a look at the archives for this list, you will see we just > talked about this with another intel employee (who you also copied on > the message) :) > > In short, no there aren't any. Also, this is probably the wrong list > for cPCI hotplug specific stuff. But any test scripts you put together that are general purpose would likely help down the line. Both automated "do these events get handled correctly" scripts, and manual "plug in the adapter and verify that these N things got set up right". - Dave ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel