# HG changeset patch # User Christian Ebert # Date 1192790192 -7200 # Node ID 1f00dce8de12a5c3bf8043d9aa5f92a4a1e855f1 # Parent 232df68a0bcce2bb15b5cd7efdab73262fad5d21 Test if warning about non-existing files is triggered diff -r 232df68a0bcc -r 1f00dce8de12 tests/test-keyword --- 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 diff -r 232df68a0bcc -r 1f00dce8de12 tests/test-keyword.out --- 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