This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

version 1.3.2 has bug in correctly returning error code condition on WIN 2000 operating system


>
> 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@parthus.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]