[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-374
From: |
Eric Blake |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-374-g53a1ce8 |
Date: |
Tue, 04 Mar 2008 22:07:13 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=53a1ce8ff8fd7bbba240ec07784903a57526f2c8
The branch, master has been updated
via 53a1ce8ff8fd7bbba240ec07784903a57526f2c8 (commit)
via 9eb6a5986a8cde7ed659d13c7f632baec4894873 (commit)
from cd4eae6962f6d11b3d07349d78b88b4dfc4ede90 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 53a1ce8ff8fd7bbba240ec07784903a57526f2c8
Author: Eric Blake <address@hidden>
Date: Tue Mar 4 15:02:22 2008 -0700
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 <address@hidden>
commit 9eb6a5986a8cde7ed659d13c7f632baec4894873
Author: Eric Blake <address@hidden>
Date: Tue Mar 4 14:28:54 2008 -0700
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.
Signed-off-by: Eric Blake <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 ++++++++++
tests/atlocal.in | 6 +++---
tests/torture.at | 10 +++++++++-
3 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0bb35a9..8506a43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-03-04 Eric Blake <address@hidden>
+
+ 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.
+
2008-03-04 Ralf Wildenhues <address@hidden>
* lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
diff --git a/tests/atlocal.in b/tests/atlocal.in
index bc7a914..5e87410 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -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
diff --git a/tests/torture.at b/tests/torture.at
index 58785ae..d8ae8f3 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -211,9 +211,17 @@ AT_CHECK([grep OK $1], [], [OK
AT_CHECK_CONFIGURE([what_to_test=var-$1 --no-create])
# config.status might be stupidly expecting data on stdin, if it's
# really broken...
+# Skip check if user can rename files into a read-only directory (when
+# run by root or on w32).
+touch t
chmod a-w .
-AT_CHECK([./config.status var-$1 </dev/null], [1], [ignore], [ignore])
+if mv t t1 >/dev/null 2>&1 ; then
+ :
+else
+ AT_CHECK([./config.status var-$1 </dev/null], [1], [ignore], [ignore])
+fi
chmod u+w .
+rm -rf t t1
])# AT_CHECK_CONFIG_CREATION_NOWRITE
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-374-g53a1ce8,
Eric Blake <=