tests: use "perf" as a the extension name in test-contrib-perf.t
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 25 Mar 2019 13:16:53 +0100
changeset 42014 d93436e2ca6b
parent 42013 50d5e64ec561
child 42015 dbca2e5563c3
tests: use "perf" as a the extension name in test-contrib-perf.t This is simpler and seems more "inline" with the name people usually use for this extensions.
tests/test-contrib-perf.t
--- a/tests/test-contrib-perf.t	Fri Mar 22 11:26:47 2019 -0400
+++ b/tests/test-contrib-perf.t	Mon Mar 25 13:16:53 2019 +0100
@@ -32,14 +32,14 @@
 
   $ cat >> $HGRCPATH << EOF
   > [extensions]
-  > perfstatusext=$CONTRIBDIR/perf.py
+  > perf=$CONTRIBDIR/perf.py
   > [perf]
   > presleep=0
   > stub=on
   > parentscount=1
   > EOF
-  $ hg help perfstatusext
-  perfstatusext extension - helper extension to measure performance
+  $ hg help -e perf
+  perf extension - helper extension to measure performance
   
   list of commands:
   
@@ -142,7 +142,7 @@
    perfwalk      (no help text available)
    perfwrite     microbenchmark ui.write
   
-  (use 'hg help -v perfstatusext' to show built-in aliases and global options)
+  (use 'hg help -v perf' to show built-in aliases and global options)
   $ hg perfaddremove
   $ hg perfancestors
   $ hg perfancestorset 2