[Top][All Lists]

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

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

From: Jim Meyering
Subject: Re: fileutils 4.1: tests/ls/follow-slink
Date: Wed, 04 Dec 2002 20:27:48 +0100

>> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]