Comment 1 for bug 832257

Revision history for this message
Martin Pool (mbp) wrote : Re: /dev/null may be a symlink

Thanks, I think that accounts for a previously known failure.

This test wants to examine something that is not a regular file, directory, or symlink. Of course we can't create device nodes from a non-root test.

What should we do?
 - skip this test if /dev/null is a symlink? the test is not super important but this report shows it's good to catch portability bugs.
 - assert there is at least one device file in /dev?
 - if /dev/null is a symlink, follow it, and check the ultimate target is a device

I think I like the last best. If you want to try a patch, please do.