tests/test-bookmarks.t
changeset 17816 19388ba75a06
parent 17814 f88ca484c3e9
child 17821 361ab1e2086f
--- a/tests/test-bookmarks.t	Wed Oct 17 17:03:01 2012 -0500
+++ b/tests/test-bookmarks.t	Wed Oct 17 16:32:43 2012 -0500
@@ -222,6 +222,21 @@
   abort: bookmark names cannot consist entirely of whitespace
   [255]
 
+bookmark with reserved name
+
+  $ hg bookmark tip
+  abort: the name 'tip' is reserved
+  [255]
+
+  $ hg bookmark .
+  abort: the name '.' is reserved
+  [255]
+
+  $ hg bookmark null
+  abort: the name 'null' is reserved
+  [255]
+
+
 bookmark with existing name
 
   $ hg bookmark Z