Re: fileutils 4.1: tests/ls/follow-slink

Jim Meyering <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
>> Perhaps the test should do something like this?
>>
>>     ln -s link link || framework_failure=1
>>     test -f link || framework_failure=1
>
> That wouldn't work, since `test -f link' would fail even on
> a unix-based system.  But this should detect the failure you describe:
>
>       ls link || framework_failure=1

Of course, I really meant this :-)

     ls -F link > /dev/null || framework_failure=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.