[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lsb-fhs test suite failures



Hi Andrew,

On some systems (eg Debian PPC32) the following tests fail:

/tset/LSB.fhs/linux/dev/dev-tc 23 FAIL
/tset/LSB.fhs/linux/dev/dev-tc 24 FAIL

These two tests check that the major and minor numbers of /dev/vcs1
.. /dev/cvs12 and /dev/vcsa1 .. /dev/vcsa12 are correct. On
the system being tested these are actually symlinks. Eg.

lr-xr-xr-x    1 root     root            5 Jun 14 16:52 /dev/vcs1 -> vcc/1

The test currently fails because it checks the symlink and not what it
points to.

In general in the FHS symlinks are ok as substitutes, but in Section
6.1.3 of the FHS it says:

"Symbolic links in /dev should not be distributed with Linux systems
except as provided in the Linux Allocated Devices document."

though taking the definition of "should" from the LSB specification:

"For an implementation that conforms to this document, describes a
feature or behavior that is recommended but not mandatory."

As an aside the future direction of the FHS appears to be to remove
this statement from the normative part of the document.

So it seems to me that it would be ok to change the testing of device
files so that if a symlink is encountered the tests check the target
of the symlink rather than failing. Any comments?

Regards,

Chris
-- 
cyeoh@au.ibm.com
IBM OzLabs Linux Development Group
Canberra, Australia


-- 
To UNSUBSCRIBE, email to lsb-test-request@lists.linuxbase.org
with subject of "unsubscribe". Trouble? Email listmaster@lists.linuxbase.org



Reply to: