tests/test-commit-interactive.t
changeset 25796 4eb8d8a44bf1
parent 25759 ff11c1565c04
child 26863 0879bf38ec84
--- a/tests/test-commit-interactive.t	Wed Jul 15 03:43:16 2015 +0900
+++ b/tests/test-commit-interactive.t	Wed Jul 15 04:45:58 2015 +0900
@@ -15,6 +15,12 @@
   $ touch empty-rw
   $ hg add empty-rw
 
+  $ hg record --config ui.interactive=false
+  abort: running non-interactively, use commit instead
+  [255]
+  $ hg commit -i --config ui.interactive=false
+  abort: running non-interactively
+  [255]
   $ hg commit -i empty-rw<<EOF
   > n
   > EOF