delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/31/10:28:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: 31 Jul 2001 09:29:30 -0500
Message-ID: <095401c119cd$363ad560$8a00440a@LONGBERRY>
From: "David King" <kingboy AT parthus DOT com>
To: cygwin AT cygwin DOT com
Subject: version 1.3.2 has bug in correctly returning error code condition on WIN 2000 operating system
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

>
> Hi Christopher,
>
> Where should I report a bug that I've found with the latest version of =
> cygwin?
>
> We've got 7 boxes running cygwin on NT and Windows 2000 boxes without =
> any
> problems with the code below.  We've just installed 2 boxes with the =
> latest 1.3.2, one running
> on Windows NT 4.0 and another on Windows 2000. =20
>
> Both are having problems with the following perl code:
>
> echo -e "submit_random.sh: INFO - No errors found....removing top-level =
> simulation directory\n"
> rm -f *.log *.sum transcript
>
> # remove the SIMOUT directory of passing testcase
> cd ..
> rm -rf "${MOD_HOSTNAME}_$$_${TIME}"         =
> <------------------------------------- PROBLEM IS HERE
>
> if (($? !=3D 0))
> then
>    echo -e "submit_random.sh: ERROR - Could not remove PASSING directory =
> ${MOD_HOSTNAME}_$$_${TIME}"
>    # don't know why you couldn't do this.....sleep for a while and try =
> it again....
>    sleep 30
>    rm -rf "${MOD_HOSTNAME}_$$_${TIME}"
>    exit -1
> fi
>
> What I am seeing is TWO problems.  First is that the rm -rf is NOT going =
> thru for
> some reason.  The directory definitly exists and the permissions appear =
> OK as far
> as I can tell.  The second problem is that the return code from the =
> command is zero, ie, I=20
> don't detect any problems with the rm -rf command now working. =20
>
> All appears to be OK.
>
> Any suggestions?
>
>
> David A. King
> Hardware Verification Engineer
> Parthus Technologies
> Acceleration Business Unit
> (512) 249-2330  Ext. 226
> kingboy AT parthus DOT com
>
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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