]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AT_INIT): Make test dir writable before removing.
authorStepan Kasal <kasal@ucw.cz>
Mon, 3 Oct 2005 10:25:53 +0000 (10:25 +0000)
committerStepan Kasal <kasal@ucw.cz>
Mon, 3 Oct 2005 10:25:53 +0000 (10:25 +0000)
ChangeLog
lib/autotest/general.m4

index 2f09c9c8eda26a77d927d7de3680b957fe5f6c6f..26feba4d4377cac28f97ebd3d2c59c5aa46626de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 2005-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Stepan Kasal  <kasal@ucw.cz>
 
-        * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance
-        parentheses.  (tiny change)
+        * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
+       * lib/autotest/general.m4 (AT_INIT): Make test dir content writable
+       before removing.  Remove an errorneous comment from the end, where
+       the logs of the failed tests are copied to the main log file.
 
 2005-09-27  Stepan Kasal  <kasal@ucw.cz>
 
index aa1a628d217e4234a9001a49ab2c67795f7997a6..23a080c3be57e54cf3856d56a76ecb0ee061242a 100644 (file)
@@ -669,6 +669,7 @@ do
       # 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
       rm -f -r $at_group_dir
       mkdir $at_group_dir ||
        AS_ERROR([cannot create $at_group_dir])
@@ -925,12 +926,9 @@ else
       echo
       for at_group in $at_fail_list
       do
-        # Normalize the test group number.
+        # Normalize the test group number and cat the log.
         at_group_normalized=`expr "00000$at_group" : ".*\($at_format\)"`
-        # 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
-        cat "$at_group_log"
+        cat "$at_suite_dir/$at_group_normalized/$as_me.log"
         echo
       done
       echo