git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] test-lib.sh: No POSIXPERM for cygwin

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 7, 2013, 19:35 UTC
Message-ID
<7vd2wb7w96.fsf@alter.siamese.dyndns.org>
In-Reply-To
<5113F1B1.3010102@ramsay1.demon.co.uk>
Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
Show 5 quoted lines
> Torsten Bögershausen wrote:
>> t0070 and t1301 fail when running the test suite under cygwin.
>> Skip the failing tests by unsetting POSIXPERM.
>
> t1301 does not fail for me. (WIN XP (SP3) on NTFS)

Others run Cygwin with vfat or some other filesystem, and some of them do not cope will with POSIXPERM, perhaps?

Not having POSIXPERM by default for Cygwin may be a saner default than having one, if we have to pick one.

It may be debatable to have this default as platform attribute, though.

Show 23 quoted lines
>> Signed-off-by: Torsten Bögershausen <tboegi@web.de>
>> ---
>>  t/test-lib.sh | 1 -
>>  1 file changed, 1 deletion(-)
>> 
>> diff --git a/t/test-lib.sh b/t/test-lib.sh
>> index 1a6c4ab..94b097e 100644
>> --- a/t/test-lib.sh
>> +++ b/t/test-lib.sh
>> @@ -669,7 +669,6 @@ case $(uname -s) in
>>  	test_set_prereq SED_STRIPS_CR
>>  	;;
>>  *CYGWIN*)
>> -	test_set_prereq POSIXPERM
>>  	test_set_prereq EXECKEEPSPID
>>  	test_set_prereq NOT_MINGW
>>  	test_set_prereq SED_STRIPS_CR
>> 
>
> So, I'm not in favour of this, FWIW.
>
> ATB,
> Ramsay Jones
Previous: Ramsay JonesNext: Torsten Bögershausen
Message 5 of 6 in “[RFC] test-lib.sh: No POSIXPERM for cygwin”
  1. Torsten BögershausenJan 27, 2013
  2. Erik Faye-LundFeb 6, 2013
  3. Torsten BögershausenFeb 6, 2013
  4. Ramsay JonesFeb 7, 2013
  5. Junio C HamanoFeb 7, 2013
  6. Torsten BögershausenFeb 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.