[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Make test failure on Cygwin
From: |
John Meinel |
Subject: |
[Gnu-arch-users] Make test failure on Cygwin |
Date: |
Mon, 05 Jul 2004 17:34:48 -0500 |
User-agent: |
Mozilla Thunderbird 0.7 (Windows/20040616) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There is a problem with make test for
hackerlab/tests/fs-tests/unit-file-names.sh
Basically, '/bin/sh' on cygwin is ASH, not BASH. In unit-filenames-sh
you do comparisons against "~/...". It turns out that at least on cygwin
ash doesn't expand ~/. It does expand "$HOME/" though. Also, /bin/bash
does expand "~/".
Is there a specific reason to use "~/", or should I change everything
over to "$HOME/"?
There is another problem in unit-unidata.sh
,tmp is created from sed, and ,tmp2 is created from ,/unit-unidata
Well, at least on my system, sed generates unix-style endings, but
unit-unidata generates dos-style endings.
If I add dos2unix ,tmp2, then the comparison works. I'm not sure if
there is a better way that involves changing unit-unidata.c, or
something like that.
There are also problems with the tests in tla/tests because /bin/sh
doesn't support the $(($A + 1)) syntax. So instead of getting "Test 1"
"Test 2", you get "Test 1", "Test 1 + 1", etc.
Another problem, which I don't know the fix for is "test-import.sh" It
fails because of "import: tree has no patch log for version"
I'm not sure why. archive-setup, archive-mirror fail for the same reason.
I'm almost to the point where rbp's cygwin port compiles and runs with
path compression, and caching.
Thanks,
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA6deIJdeBCYSNAAMRAqYeAJ47g8pAQugXOMZvmYRiTkbkAb4hKgCgp8jg
zyhNmwqld089Hh46gsCOT0M=
=QCQp
-----END PGP SIGNATURE-----
- [Gnu-arch-users] Make test failure on Cygwin,
John Meinel <=
- Re: [Gnu-arch-users] Make test failure on Cygwin, Ron Parker, 2004/07/06
- Re: [Gnu-arch-users] Make test failure on Cygwin, John Meinel, 2004/07/06
- Re: [Gnu-arch-users] Make test failure on Cygwin, Ron Parker, 2004/07/06
- Re: [Gnu-arch-users] Make test failure on Cygwin, John Meinel, 2004/07/06
- Re: [Gnu-arch-users] Make test failure on Cygwin, Ron Parker, 2004/07/07