tests/test-inhibit.t
changeset 1346 9a1415f8b21b
parent 1343 41628bd60ee6
child 1352 a143037892d6
--- a/tests/test-inhibit.t	Wed May 20 13:32:32 2015 -0700
+++ b/tests/test-inhibit.t	Wed May 20 10:58:32 2015 -0700
@@ -676,15 +676,22 @@
   |
   o  0:54ccbc537fc2 add cA
   
+  $ cat >> $HGRCPATH <<EOF
+  > [extensions]
+  > EOF
+  $ echo "inhibit=$(echo $(dirname $TESTDIR))/hgext/inhibit.py" >> $HGRCPATH
+
+Empty commit
+  $ hg amend
+  nothing changed
+  [1]
 
 Inhibit should not work without directaccess
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
   > directaccess=!
   > EOF
-  $ echo "inhibit=$(echo $(dirname $TESTDIR))/hgext/inhibit.py" >> $HGRCPATH
-
   $ hg up 15
   abort: Cannot use inhibit without the direct access extension
   [255]
- 
+