2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ testsuite: minor w32 fixes.
+ * tests/depend5.test: Don't fail if the system or file system
+ cannot handle weird characters, instead just try a few.
+ * tests/parallel-tests3.test: Really wait until the serial test
+ has finished, before letting the cleanup trap do its work.
+ Report by Bruno Haible.
+
Avoid nonportable `./FILE' instead of `FILE' in test.
* tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la'
in *_LDADD entry if `$(top_builddir)' is `.'. Fixes test failure
#! /bin/sh
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# For the fun of it, we should also cope with makefile
# names that contain weird characters, with Autoconf 2.62
# and newer.
-name='weird name with $ `#() &! characters"'
-cp Makefile.in "$name.in"
+# Pick the first name that the file system will accept.
+for name in \
+ 'weird name with $ `#() &! characters"' \
+ 'weird name with $ `#() characters"' \
+ 'weird name with characters'
+do
+ cp Makefile.in "$name.in" && break || :
+done
for arg in Makefile \
--file=Makefile \
"--file=$name"
do
rm -rf .deps _deps
- ./config.status "$arg" depfiles >stdout 2>stderr
+ ./config.status "$arg" depfiles >stdout 2>stderr ||
+ { cat stdout; cat stderr >&2; Exit 1; }
cat stdout
cat stderr >&2
grep '[Nn]o such file' stderr && Exit 1