delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/30/13:49:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47A0C681.40007@sgi.com>
Date: Wed, 30 Jan 2008 12:48:33 -0600
From: "Brian J. Johnson" <bjohnson AT sgi DOT com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bash's builtin "test" command kills bash on Windows Server 2003 R2
References: <47A0B606 DOT 2070408 AT sgi DOT com> <47A0C1C1 DOT 7070505 AT cygwin DOT com>
In-Reply-To: <47A0C1C1.7070505@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Larry Hall (Cygwin) wrote:
> Brian J. Johnson wrote:
>> I've encountered an odd problem installing cygwin on Windows Server 
>> 2003 R2, Enterprise x64 edition.  This is a default installation of 
>> cygwin from yesterday on a fresh Windows installation on a Xen VM 
>> hosted by SLES10SP1.
>>
>> The installer runs normally, but most of the postinstall scripts fail. 
>> I eventually traced the problem to a failure with bash's builtin 
>> "test" and "[" commands.
>>
>> If I run a basic "test" command like this:
>>
>>   $ test -e /
>>
>> then the shell simply exits, without printing any error messages.  
>> There are no errors reported in the Windows error log.  If I try this:
>>
>>   $ test -e / ; echo hi
>>
>> then the shell exits without echoing, and without printing any error 
>> messages.  If I use the external test command:
>>
>>   $ /bin/test -e / ; echo hi
>>
>> then "hi" is echoed as expected.  This happens with almost all 
>> arguments  to "test" that I've tried... even "test 1" kills the shell 
>> in the same way.  However, just "test" with no arguments doesn't 
>> trigger the problem.
>>
>> Cygwin1.dll and bash from various time periods fail in the same way. 
>> Cygwin versions which work on other machines with other versions of 
>> Windows fail on this machine.  So it appears to be an issue with this 
>> particular Windows installation.
>>
>> Any suggestions on what to try?  I see from the mailing list that 
>> others have cygwin working on Windows Server 2003 64-bit.
>>
>> Cygcheck output is below.  Strace output available on request.  (Note 
>> that cygcheck shows Microsoft's SUA is installed.  It failed the same 
>> way before and after I installed SUA.)
>>
>> Thanks,
> 
> What does 'type -a test' say?  Are you sure you're not getting something
> from SUA?
> 

bash-3.2$ type -a test
test is a shell builtin

It also failed before installing SUA.

						Brian J. Johnson


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019