view tests/test-help.t @ 1128:6141895a53c9

compat: switch from hgutil.Abort to error.Abort
author Kevin Bullock <kbullock@ringworld.org>
date Wed, 02 May 2018 20:43:17 -0500
parents 00afe8290cd4
children
line wrap: on
line source

Tests that the various help files are properly registered

Load commonly used test logic
  $ . "$TESTDIR/testutil"

  $ hg help | grep 'git' | sed 's/  */ /g'
   hggit push and pull from a Git server
   git Working with Git Repositories

Mercurial 3.7+ uses single quotes
  $ hg help hggit | grep 'help git' | sed "s/'/\"/g"
  For more information and instructions, see "hg help git"
  $ hg help git | grep 'Working with Git Repositories'
  Working with Git Repositories