[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autotest: make test dir writable before removing
From: |
Stepan Kasal |
Subject: |
Re: Autotest: make test dir writable before removing |
Date: |
Mon, 3 Oct 2005 12:45:44 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Mon, Oct 03, 2005 at 12:25:18PM +0200, Stepan Kasal wrote:
> I applied Ralf's patch, [...]
... before running "make check", and that was mistake. Sorry.
The following has to be added:
* lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
make its content writable before removing it.
Index: lib/autotest/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autotest/general.m4,v
retrieving revision 1.191
diff -u -r1.191 general.m4
--- lib/autotest/general.m4 3 Oct 2005 10:25:54 -0000 1.191
+++ lib/autotest/general.m4 3 Oct 2005 10:41:50 -0000
@@ -669,7 +669,7 @@
# Create a fresh directory for the next test group, and enter.
at_group_dir=$at_suite_dir/$at_group_normalized
at_group_log=$at_group_dir/$as_me.log
- chmod -R u+w $at_group_dir
+ test -d $at_group_dir && chmod -R u+w $at_group_dir
rm -f -r $at_group_dir
mkdir $at_group_dir ||
AS_ERROR([cannot create $at_group_dir])
Re: Autotest: make test dir writable before removing, Stepan Kasal, 2005/10/03
- Re: Autotest: make test dir writable before removing,
Stepan Kasal <=