tests/test-status
changeset 6033 a1ebd5cd7e55
parent 3834 a7b61c3b0f93
child 6200 acc40572da5b
--- a/tests/test-status	Fri Feb 08 18:07:55 2008 -0200
+++ b/tests/test-status	Fri Feb 08 18:07:55 2008 -0200
@@ -21,7 +21,7 @@
 hg init repo2
 cd repo2
 touch modified removed deleted ignored
-echo "ignored" > .hgignore
+echo "^ignored$" > .hgignore
 hg ci -A -m 'initial checkin' -d "1000000 0"
 sleep 1 # make sure mtime is changed
 touch modified added unknown ignored
@@ -37,3 +37,10 @@
 hg status -C
 echo "hg status -A:"
 hg status -A
+echo "^ignoreddir$" > .hgignore
+mkdir ignoreddir
+touch ignoreddir/file
+echo "hg status ignoreddir/file:"
+hg status ignoreddir/file
+echo "hg status -i ignoreddir/file:"
+hg status -i ignoreddir/file