Tighten condition for kwshrink/kwexpand test
authorChristian Ebert <blacktrash@gmx.net>
Sat, 13 Oct 2007 22:15:20 +0200
changeset 267 4a24c3acd4f2
parent 266 50ce25f8c676
child 268 14ebaa9eaf1d
Tighten condition for kwshrink/kwexpand test
tests/test-keyword
tests/test-keyword.out
--- a/tests/test-keyword	Sat Oct 13 15:25:06 2007 +0200
+++ b/tests/test-keyword	Sat Oct 13 22:15:20 2007 +0200
@@ -155,7 +155,7 @@
 hg incoming | grep -v '^comparing with'
 
 cd ../Test
-echo % canonpath for kwexpand/kwshrink
+echo % pathto for kwexpand/kwshrink
 mkdir x
 echo % copy
 hg copy a x/a
@@ -170,7 +170,8 @@
 cd -
 
 echo % switch off expansion
-echo % kwshrink
+echo % kwshrink with unknown file u
+cp a u
 hg --verbose kwshrink
 echo % cat
 cat a b
--- a/tests/test-keyword.out	Sat Oct 13 15:25:06 2007 +0200
+++ b/tests/test-keyword.out	Sat Oct 13 22:15:20 2007 +0200
@@ -207,7 +207,7 @@
 date:        Thu Jan 01 00:00:02 1970 +0000
 summary:     firstline
 
-% canonpath for kwexpand/kwshrink
+% pathto for kwexpand/kwshrink
 % copy
 x/a
  x/a: copy a:779c764182ce5d43e2b1eb66ce06d7b47bfe342e
@@ -225,7 +225,7 @@
 xxx $
 $Xinfo$
 % switch off expansion
-% kwshrink
+% kwshrink with unknown file u
 overwriting a shrinking keywords
 overwriting x/a shrinking keywords
 % cat