Opened 19 years ago
Closed 19 years ago
#1611 closed defect (fixed)
Document/investigate udev test failure
Reported by: | Matthew Burgess | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
The referenced email (and my earlier one at http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2005-February/050681.html)
shows a consistent udev test failure:
[1] TEST 104: temporary node creation test device '/block/sda' expecting node 'node' add: error
We need to either document that this failure is known, or investigate and fix what's causing it.
Change History (6)
comment:1 by , 19 years ago
comment:3 by , 19 years ago
There are actually two failures, although only one causes a test error.
The first occurs because we don't have a "mail" group, and a perl error is reported.
TEST 10: replace kernel name Argument "mail" isn't numeric in numeric ne (!=) at ./udev-test.pl line 1558. device '/class/tty/ttyUSB0' expecting node 'visor' add: ok remove: ok
This is a cosmetic error only, so can safely be ignored (or have a mail group added to fix it ;)
Still looking at the original error, although the perl error is because it is calling the "tree" binary, which we don't have installed (package homepage for tree is ftp://mama.indstate.edu/linux/tree/, current version 1.5.0)
comment:4 by , 19 years ago
okay, the problem is rule 112 (temporary node creation test) is calling /usr/bin/test, and we have /bin/test
fixes could be (both fixes tested and worked okay):
sed -i 's@/usr/bin/test@/bin/test@g' test/udev-test.pl make test
or
ln -s /bin/test /usr/bin/test make test rm /usr/bin/test
comment:5 by , 19 years ago
Thanks a lot Steve. I've reported this to Kay Sievers. I'll let you know what his response is.
comment:6 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Perhaps the extra data from running the test suite using Udev-065 will be of some help:
TEST 112: temporary node creation test device '/block/sda' expecting node 'node' add: error Can't exec "tree": No such file or directory at ./udev-test.pl line 1670.
remove: ok