tests/test-symlinks.t
changeset 23462 afa3fbbcabd3
parent 22046 7a9cbb315d84
child 25472 4d2b9b304ad0
--- a/tests/test-symlinks.t	Tue Dec 02 05:12:59 2014 +0100
+++ b/tests/test-symlinks.t	Wed Dec 03 14:33:29 2014 -0800
@@ -3,12 +3,18 @@
 == tests added in 0.7 ==
 
   $ hg init test-symlinks-0.7; cd test-symlinks-0.7;
-  $ touch foo; ln -s foo bar;
+  $ touch foo; ln -s foo bar; ln -s nonexistent baz
+
+import with add and addremove -- symlink walking should _not_ screwup.
 
-import with addremove -- symlink walking should _not_ screwup.
-
+  $ hg add
+  adding bar
+  adding baz
+  adding foo
+  $ hg forget bar baz foo
   $ hg addremove
   adding bar
+  adding baz
   adding foo
 
 commit -- the symlink should _not_ appear added to dir state