IMO it makes no sense to use "rm -fr" in the trap commands of the tests but only "rm -f" in case of successful completion.
2006-08-21 Bruno Haible <[EMAIL PROTECTED]> * greeting-1: Remove also temporary subdirectories. * hello-1: Likewise. * traditional-1: Likewise. *** tests/greeting-1.bak Tue Aug 22 02:45:12 2006 --- tests/greeting-1 Tue Aug 22 03:07:48 2006 *************** *** 22,27 **** ${DIFF} greeting-test1.ok greeting-test1.out result=$? ! rm -f $tmpfiles exit $result --- 22,27 ---- ${DIFF} greeting-test1.ok greeting-test1.out result=$? ! rm -fr $tmpfiles exit $result *** tests/hello-1.bak Tue Aug 22 02:45:19 2006 --- tests/hello-1 Tue Aug 22 03:07:57 2006 *************** *** 29,34 **** ${DIFF} hello-test1.ok hello-test1.out result=$? ! rm -f $tmpfiles exit $result --- 29,34 ---- ${DIFF} hello-test1.ok hello-test1.out result=$? ! rm -fr $tmpfiles exit $result *** tests/traditional-1.bak Tue Aug 22 02:45:24 2006 --- tests/traditional-1 Tue Aug 22 03:08:10 2006 *************** *** 28,33 **** ${DIFF} traditional-test1.ok traditional-test1.out result=$? ! rm -f $tmpfiles exit $result --- 28,33 ---- ${DIFF} traditional-test1.ok traditional-test1.out result=$? ! rm -fr $tmpfiles exit $result