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: | |
---|---|---|---|
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)
Change History (6)
comment:1 by , 14 years ago
comment:2 by , 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 , 14 years ago
Attachment: | udev-157-testfiles.tar.bz2 added |
---|
comment:3 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I don't have a problem adding 'tree' to LFS in order to ensure udev is working correctly. Thanks for the heads up!