canonicalize: allow cross-testing from cygwin to mingw
authorEric Blake <ebb9@byu.net>
Mon, 31 Aug 2009 15:12:30 +0000 (09:12 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 1 Sep 2009 01:19:53 +0000 (19:19 -0600)
commita01c968e6d045385bb27857eacc9100c4bb829a9
tree77c5cc9774ab7fbdbd3543d37ada35bcbc18eeac
parentd6127191016725b6be0cd65bb10124fd3f69d752
canonicalize: allow cross-testing from cygwin to mingw

* modules/canonicalize-tests (configure.ac): Define HAVE_SYMLINK.
(Makefile.am): Pass it through TESTS_ENVIRONMENT.
* modules/canonicalize-lgpl-tests (configure.ac, Makefile.am):
Likewise.
* tests/test-canonicalize.sh: Also skip test if 'ln -s' works, but
target does not support symlinks.
* tests/test-canonicalize-lgpl.sh: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
modules/canonicalize-lgpl-tests
modules/canonicalize-tests
tests/test-canonicalize-lgpl.sh
tests/test-canonicalize.sh