[darcs-devel] portability fixes for tests
Dave Love
fx at gnu.org
Sun Feb 25 11:32:33 PST 2007
This bunch of patches fixes portability problems with the test suite.
The shell scripts use non-POSIX (GNU-ish) features, but the Solaris
/bin/sh isn't POSIX-conformant anyway. There may be more things worth
fixing, but this seems to be enough for Solaris 10.
There are still failures in a couple of the test scripts which I
haven't been able to debug yet, but it looks as though they're
genuine problems.
Sun Feb 25 11:21:24 GMT 2007 Dave Love <fx at gnu.org>
* Make test harnesses define PWD in environment in case shell doesn't.
Sun Feb 25 11:30:41 GMT 2007 Dave Love <fx at gnu.org>
* Get `open' and `psignal' declared on Solaris.
The header requirements for open are actually as documented for glibc.
Sun Feb 25 11:32:16 GMT 2007 Dave Love <fx at gnu.org>
* Fix bash-ism `export foo=' in tests.
Sun Feb 25 11:32:55 GMT 2007 Dave Love <fx at gnu.org>
* Don't depend on `seq' in tests.
Sun Feb 25 11:34:02 GMT 2007 Dave Love <fx at gnu.org>
* Fixes for Solaris sh in tests: no $(...), test -e, or ! pipelines.
Sun Feb 25 11:39:49 GMT 2007 Dave Love <fx at gnu.org>
* In tests, don't assume diff has -c, -x flags.
Sun Feb 25 11:40:22 GMT 2007 Dave Love <fx at gnu.org>
* In tests, don't assume grep has -q and -x flags.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 46027 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070225/56d02dfb/attachment-0001.bin
More information about the darcs-devel
mailing list