Re: test -L usage

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

 



Jeff King wrote:
> On Tue, Sep 21, 2010 at 08:11:15PM -0400, Bruce Momjian wrote:
> 
> > git-1.7.3/contrib/workdir/git-new-workdir uses 'test -L' to test for
> > symlinks.  I suggest using 'test -h' because it is more portable, and
> > would have avoided a problem on my BSD machine.
> 
> Yeah, we generally do, but the stuff in contrib/ doesn't get exercised
> as much. There are also a few occurences in the svn tests. All cleaned
> up with the patch below.

Thanks.

-- 
  Bruce Momjian  <bruce@xxxxxxxxxx>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]