Re: [PATCH] Work around broken ln on solaris as used in t8006
- From
Ben Walton <bwalton@artsci.utoronto.ca>
- Date
- Mar 21, 2011, 01:10 UTC
- Message-ID
- <1300669724-sup-450@pinkfloyd.chass.utoronto.ca>
- In-Reply-To
- <7vd3lluvze.fsf@alter.siamese.dyndns.org>
Excerpts from Junio C Hamano's message of Sun Mar 20 21:02:13 -0400 2011:
Hi Junio,
> > This patch uses changes the first check in the test to rm the symlink > > and then create the new symlink using only -s. > > s/uses //; I think.
Yes, I caught that right after send. A follow up corrected it, but I'll resubmit taking your feedback below into account.
> It is curious why "rm symlink.bin" is not inside the > test-have-prereq part, iow, immediately before the problematic "ln > -s", where it logically belongs to, though. What does the updated > code do on systems without symbolic link support?
I think you're right about this. They should be logically grouped. I'll send an update shortly.
Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302