cURL / Mailing Lists / curl-library / Single Mail

curl-library

File tests in msys

From: Andres Garcia <fandom_at_retemail.es>
Date: Thu, 25 Mar 2004 19:46:01 +0100

Hi,

I am running into a little problem when running the file tests in msys.

For example, test 200 tries to get file:

 file://localhost//home/Administrador/curl/tests/log/test200.txt

while it should be trying to get:

 file://localhost//c:/msys/1.0/home/Administrador/curl/tests/log/test200.txt

The problem is that msys doesn't have an utility to translate between
its paths and the real ones like cygwin does.

One way to get prefix is to do:

mount | grep "/usr " | cut -f 1 -d " " | sed s#\\#/#g

and from looking at runtests.pl I guess we need to add something
like:

       if ($curl =~ mingw32)
       {
             chomp($pwd = 'whatever $pwd');
       }

But I don't know perl, so I don't know how to do that 'whatever'.

Any suggestions?

Andres
Received on 2004-03-25