Stepan Kasal <kasal@ucw.cz>
* 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.
+ * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
+ make its content writable before removing it. 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>
# 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])