test-permissions: add a chmod +w to allow the directory to be removed
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 09 Nov 2007 20:21:35 -0200
changeset 5519 b688d264a294
parent 5518 d0a022d5871e
child 5520 cc3af86ab6fe
test-permissions: add a chmod +w to allow the directory to be removed
tests/test-permissions
--- a/tests/test-permissions	Fri Nov 09 20:21:35 2007 -0200
+++ b/tests/test-permissions	Fri Nov 09 20:21:35 2007 -0200
@@ -13,5 +13,6 @@
 chmod -w .hg/store/data/a.i
 echo barber > a
 hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed
-chmod -w ../t
+chmod -w .
 hg diff --nodates
+chmod +w .