tests/test-addremove.t
changeset 23535 72c23fa4f52f
parent 23534 83bbedc16b3f
child 23749 a387b0390082
--- a/tests/test-addremove.t	Wed Nov 26 14:27:36 2014 -0500
+++ b/tests/test-addremove.t	Wed Nov 26 15:16:22 2014 -0500
@@ -79,4 +79,19 @@
   $ hg addremove -s 50
   adding b
   adding c
+
+  $ rm c
+#if windows
+  $ hg ci -A -m "c" nonexistant
+  nonexistant: The system cannot find the file specified
+  abort: failed to mark all new/missing files as added/removed
+  [255]
+#else
+  $ hg ci -A -m "c" nonexistant
+  nonexistant: No such file or directory
+  abort: failed to mark all new/missing files as added/removed
+  [255]
+#endif
+  $ hg st
+  ! c
   $ cd ..