Test if warning about non-existing files is triggered
authorChristian Ebert <blacktrash@gmx.net>
Fri, 19 Oct 2007 12:36:32 +0200
changeset 279 1f00dce8de12
parent 278 232df68a0bcc
child 280 2088e409d360
Test if warning about non-existing files is triggered
tests/test-keyword
tests/test-keyword.out
--- a/tests/test-keyword	Thu Oct 18 09:38:05 2007 +0200
+++ b/tests/test-keyword	Fri Oct 19 12:36:32 2007 +0200
@@ -169,6 +169,9 @@
 cat a
 cd -
 
+echo % kwexpand nonexistent
+hg kwexpand nonexistent
+
 echo % switch off expansion
 echo % kwshrink with unknown file u
 cp a u
--- a/tests/test-keyword.out	Thu Oct 18 09:38:05 2007 +0200
+++ b/tests/test-keyword.out	Fri Oct 19 12:36:32 2007 +0200
@@ -224,6 +224,8 @@
 do not process $Id:
 xxx $
 $Xinfo$
+% kwexpand nonexistent
+nonexistent: No such file in working copy
 % switch off expansion
 % kwshrink with unknown file u
 overwriting a shrinking keywords