Work around cygwin bug.

* tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
"touch 't\'" creates regular file 't'.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2008-03-04 15:02:22 -07:00
parent 9eb6a5986a
commit 53a1ce8ff8
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2008-03-04 Eric Blake <ebb9@byu.net>
Work around cygwin bug.
* tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
"touch 't\'" creates regular file 't'.
Ignore tests that require read-only directories under root.
* tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
no-write portion if user has root-like privileges.

View File

@ -2,7 +2,7 @@
# @configure_input@
# Configurable variable values for Autoconf test suite.
# Copyright (C) 2000, 2001, 2005 Free Software Foundation, Inc.
# Copyright (C) 2000, 2001, 2005, 2008 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
@ -30,8 +30,8 @@ ac_cv_sh_n_works='@ac_cv_sh_n_works@'
unsupported_fs_chars=
for c in '\\' '"' '<' '>' '*' '?' '|'
do
touch "t$c" 2>/dev/null
test -f "t$c" && rm -f "t$c" && continue
touch "t${c}t" 2>/dev/null
test -f "t${c}t" && rm -f "t${c}t" && continue
# $c cannot be used in a file name.
unsupported_fs_chars=$unsupported_fs_chars$c
done