--- a/tests/test-keyword Fri Sep 14 22:34:47 2007 +0100
+++ b/tests/test-keyword Fri Sep 14 23:00:26 2007 +0100
@@ -143,10 +143,24 @@
# remove path to temp dir for backwards compatibility
hg incoming | grep -v '^comparing with'
+cd ../Test
+echo % canonpath for kwexpand/kwshrink
+mkdir x
+echo % copy
+hg copy a x/a
+cd x
+hg --debug commit -m xa -d '3 0' -u 'User Name <user@example.com>'
+echo % cat a
+cat a
+echo % kwshrink a
+hg --verbose kwshrink a
+echo % cat a
+cat a
+cd -
+
echo % switch off expansion
-cd ../Test
echo % kwshrink
-hg --debug kwshrink
+hg --verbose kwshrink
echo % cat
cat a b
echo % hg cat