tests/test-keyword.t
branchstable
changeset 15070 e4c65158b5e7
parent 14162 301725c3df9a
child 15075 77325c92db95
--- a/tests/test-keyword.t	Sat Aug 27 04:56:12 2011 +0900
+++ b/tests/test-keyword.t	Thu Sep 08 19:30:25 2011 +0100
@@ -270,15 +270,20 @@
   xxx $
   ignore $Id$
 
-Check whether expansion is filewise
+Check whether expansion is filewise and file mode is preserved
 
   $ echo '$Id$' > c
   $ echo 'tests for different changenodes' >> c
+  $ chmod 600 c
+  $ ls -l c | cut -b 1-10
+  -rw-------
 
 commit file c
 
   $ hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
   adding c
+  $ ls -l c | cut -b 1-10
+  -rw-------
 
 force expansion