Make kwfilelog.cmp test reliable
authorChristian Ebert <blacktrash@gmx.net>
Fri, 21 Sep 2007 20:22:21 +0100
changeset 249 8df281c5ca8b
parent 248 2c222367dab3
child 250 b28a2832cba4
Make kwfilelog.cmp test reliable
tests/test-keyword
tests/test-keyword.out
--- a/tests/test-keyword	Fri Sep 21 20:16:53 2007 +0100
+++ b/tests/test-keyword	Fri Sep 21 20:22:21 2007 +0100
@@ -64,7 +64,8 @@
 hg --debug commit -ma2c -d '1 0' -u 'User Name <user@example.com>'
 echo % cat a c
 cat a c
-echo % touch copied c
+echo % touch copied c after 1 second
+sleep 1
 touch c
 echo % status
 hg status
--- a/tests/test-keyword.out	Fri Sep 21 20:16:53 2007 +0100
+++ b/tests/test-keyword.out	Fri Sep 21 20:22:21 2007 +0100
@@ -113,7 +113,7 @@
 expand $Id: c,v 6a127771f5db 1970/01/01 00:00:01 user $
 do not process $Id:
 xxx $
-% touch copied c
+% touch copied c after 1 second
 % status
 % kwfiles
 a