diff tests/test-permissions @ 5217:551958d5082c

testcase for issue705 (fixed by 316ce5e85b3e)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 24 Aug 2007 00:52:28 +0200
parents c0b449154a90
children 74723744d8e0
line wrap: on
line diff
--- a/tests/test-permissions
+++ b/tests/test-permissions
@@ -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 @@ hg verify 2>/dev/null || echo verify fai
 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