delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/08/03:41:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 8 Mar 2012 02:40:49 -0600
From: Mike Brown <brown AT mrvideo DOT vidiot DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin for Fedora?
Message-ID: <20120308084049.GH24977@mrvideo.vidiot.com>
References: <4F586390 DOT 6080702 AT gmail DOT com> <20120308075241 DOT GF24977 AT mrvideo DOT vidiot DOT com> <4F586BD5 DOT 7030900 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4F586BD5.7030900@gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Mar 08, 2012 at 01:50:37PM +0530, Harry Simons wrote:
> My intent is not to emulate the low-level operating system API, it is 
> rather to emulate the *environment* consisting of packages and programs, 
> their versions, etc.

The problem I see with trying to emulate is that you don't have the MS OS
to test against.

For example, if you were trying to test scripts that were started from cron,
the cygwyn cron program wouldn't have what it needs from the MS OS, because it
isn't there.

As far as scripts are concerned, yes there are differences because of the
forward and backslash differences in path names and using cygwin tools to
convert from one to the other.  I too have Z-shell scripts on my XP boxes.
When running MS programs, the MS paths are needed.

But how do you test running MS programs when the MS programs do not exist?
For example, I have a complicated scripts that is used to doing x264
comiling, with other MS programs getting run to set up some other stuff,
like the audio.  Those are all MS programs.  Impossible to test, other than
on a MS system.

Unless I'm missing something and therefore way off base, I just do not see
the need.  Testing should be done under the actual environment.

Bring up Wine on your system, load the MS and cygwin.  Test away.

MB
-- 
e-mail: vidiot AT vidiot DOT com | vidiot AT vidiot DOT net            /~\ The ASCII
        6082066843 AT email DOT uscc DOT net (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email

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

- Raw text -


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