Merge Solaris test compatibility
authorChristian Ebert <blacktrash@gmx.net>
Mon, 14 Jan 2008 15:12:20 +0100
changeset 338 d924ed135d9a
parent 336 46f5cf3e1a7f (diff)
parent 337 67b4decdee67 (current diff)
child 340 9e9f6cbcf20b
Merge Solaris test compatibility
tests/test-keyword
tests/test-keyword.out
--- a/tests/test-keyword	Mon Jan 14 09:00:23 2008 +0100
+++ b/tests/test-keyword	Mon Jan 14 15:12:20 2008 +0100
@@ -79,6 +79,19 @@
 echo % cat
 cat sym a b
 
+echo % check whether expansion is filewise
+echo '$Id$' > c
+echo 'tests for different changenodes' >> c
+echo % commit c
+hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
+echo % force expansion
+hg -v kwexpand
+echo % compare changenodes in a c
+cat a c
+echo % rollback and remove c
+hg rollback
+rm c
+
 echo % copy
 hg cp a c
 
--- a/tests/test-keyword.out	Mon Jan 14 09:00:23 2008 +0100
+++ b/tests/test-keyword.out	Mon Jan 14 15:12:20 2008 +0100
@@ -146,6 +146,20 @@
 do not process $Id:
 xxx $
 ignore $Id$
+% check whether expansion is filewise
+% commit c
+adding c
+% force expansion
+overwriting a expanding keywords
+overwriting c expanding keywords
+% compare changenodes in a c
+expand $Id: a,v f782df5f9602 1970/01/01 00:00:00 user $
+do not process $Id:
+xxx $
+$Id: c,v ba4426d1938e 1970/01/01 00:00:01 user $
+tests for different changenodes
+% rollback and remove c
+rolling back last transaction
 % copy
 % kwfiles added
 a