view tests/test-help.t @ 499:4b64fc97ec7b

tests: unify test-file-removal
author David M. Carr <david@carrclan.us>
date Mon, 10 Sep 2012 00:26:58 -0400
parents 0612a5e6c209
children a7da97e69d56
line wrap: on
line source

Tests that the various help files are properly registered

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH

  $ hg help | grep 'git' | sed 's/  */ /g'
   hggit push and pull from a Git server
   git Working with Git Repositories
  $ hg help hggit | grep 'help git' | sed 's/:hg:`help git`/"hg help git"/g'
  For more information and instructions, see "hg help git"
  $ hg help git | grep 'Working with Git Repositories'
  Working with Git Repositories