testcase for issue705 (fixed by 316ce5e85b3e)
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 24 Aug 2007 00:52:28 +0200
changeset 5214 551958d5082c
parent 5213 b0bc8cf41ffc
child 5215 74723744d8e0
child 5237 5b1f5a143c8b
testcase for issue705 (fixed by 316ce5e85b3e)
tests/test-permissions
--- a/tests/test-permissions	Fri Aug 24 00:39:16 2007 +0200
+++ b/tests/test-permissions	Fri Aug 24 00:52:28 2007 +0200
@@ -1,6 +1,7 @@
 #!/bin/sh
 
-hg init
+hg init t
+cd t
 echo foo > a
 hg add a
 hg commit -m "1" -d "1000000 0"
@@ -12,4 +13,5 @@
 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
+hg diff