changeset 1750:955a7caf005c

make test-pull-permission cleanup correctly in case of errors
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 19 Feb 2006 21:44:32 +0100
parents d457fec76ab0
children 457cdec745f8
files tests/test-pull-permission
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-pull-permission	Sun Feb 19 19:43:03 2006 +0100
+++ b/tests/test-pull-permission	Sun Feb 19 21:44:32 2006 +0100
@@ -12,9 +12,8 @@
 cd ..
 
 hg clone a b
+
+chmod +w a/.hg # let test clean up
+
 cd b
 hg verify
-
-cd ..
-
-chmod +w a/.hg # let test clean up