view tests/test-help.t @ 1089:e4fb9229417a

share: add a test for shared git data in shared repositories Sharing repository data, but not Git metadata can lead to confusing scenarios, particularly in the face of history editing and/or forced updates. This adds a test for the share integration added in 1003994dd497.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Tue, 06 Sep 2016 01:11:28 +0200
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