[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1714
From: |
Peter Rosin |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1714-g63aa617 |
Date: |
Mon, 09 Jan 2012 17:52:05 +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 Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=63aa6177cc67ff43bdc4f68769ac8fc6585e31e9
The branch, master has been updated
via 63aa6177cc67ff43bdc4f68769ac8fc6585e31e9 (commit)
from 7fe475b6ef6dd3e55f609e80f4c203d99c3890c5 (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 63aa6177cc67ff43bdc4f68769ac8fc6585e31e9
Author: Peter Rosin <address@hidden>
Date: Mon Jan 9 12:43:30 2012 +0100
tests: detect that MSYS lacks symlinks
* tests/self-check-cleanup.tap: Also check if "ln -s" really created a
symlink to cater for MSYS falling back to an ordinary copy. Also, don't
chmod the symlinks if they were never created.
-----------------------------------------------------------------------
Summary of changes:
tests/self-check-cleanup.tap | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/tests/self-check-cleanup.tap b/tests/self-check-cleanup.tap
index d369c9f..e403dde 100755
--- a/tests/self-check-cleanup.tap
+++ b/tests/self-check-cleanup.tap
@@ -33,7 +33,7 @@ cp ../defs .
AM_TESTS_REEXEC=no; export AM_TESTS_REEXEC
-if ln -s defs foo; then
+if ln -s defs foo && test -h foo; then
have_symlinks=yes
else
have_symlinks=no
@@ -60,7 +60,8 @@ if test $have_symlinks = yes; then
ln -s none brokenlink
fi
cd ..
-chmod 000 $dir/sub/* $dir/file $dir/symlink
+chmod 000 $dir/sub/* $dir/file
+test $have_symlinks = yes && chmod 000 $dir/symlink
chmod 000 $dir/sub $dir
command_ok_ "pre-cleanup can deal with null-perms testdir" \
$SHELL -c '. ./defs' dummy.test
@@ -84,7 +85,8 @@ command_ok_ "post-cleanup can deal with null-perms testdir" \
ln -s none brokenlink
fi
cd ..
- chmod 000 dir/sub/* dir/file dir/symlink
+ chmod 000 dir/sub/* dir/file
+ test $have_symlinks = yes && chmod 000 dir/symlink
chmod 000 dir/sub dir
:
' dummy.test
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1714-g63aa617,
Peter Rosin <=