Opened 14 years ago

Closed 14 years ago

#2692 closed enhancement (fixed)

LFS book should mention udev test suite

Reported by: Ivan Wagner Owned by: bdubbs@…
Priority: normal Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

While it's true that the release tarballs do not include the files to successfully run the test suite, it's something that can easily be downloaded. See http://bugs.gentoo.org/show_bug.cgi?id=295958 for reference.

The test suite requires "tree" http://www.spinics.net/lists/hotplug/msg03853.html

Which Fedora gets from here: http://mama.indstate.edu/users/ice/tree/

Short blurb about test suite: http://www.crashcourse.ca/wiki/index.php/Building_and_testing_udev#Running_the_udev_test_suite

Attachments (1)

udev-157-testfiles.tar.bz2 (130.9 KB ) - added by bdubbs@… 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Matthew Burgess, 14 years ago

I don't have a problem adding 'tree' to LFS in order to ensure udev is working correctly. Thanks for the heads up!

comment:2 by bdubbs@…, 14 years ago

tree is indeed a very simle CMMI application, but it is not really needed for udev. It is only used in the perl script if a failure occurs. A sed to change 'tree' to 'ls' in udev-test.pl would handle the issue for lfs.

I retrieved the testfiles and will upload.

I unpacked from within udev-157/ with:

tar -xf ../udev-157-testfiles.tar.bz2 --strip-components=1

and ran 'sudo make check'. All tests passed. Note that for Chapter 6, we are already root so the sudo is obviously not needed.

by bdubbs@…, 14 years ago

Attachment: udev-157-testfiles.tar.bz2 added

comment:3 by bdubbs@…, 14 years ago

Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

comment:4 by bdubbs@…, 14 years ago

Fixed at revision 9322.

comment:5 by bdubbs@…, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.