Mercurial > hg > hg-git
changeset 494:0612a5e6c209
tests: unify test-help
author | David M. Carr <david@carrclan.us> |
---|---|
date | Mon, 10 Sep 2012 00:26:33 -0400 |
parents | d8c0ad930b3c |
children | 0f8fa80158e8 |
files | tests/test-help tests/test-help.out tests/test-help.t tests/test-keywords.t |
diffstat | 2 files changed, 10 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
deleted file mode 100644 --- a/tests/test-help.out +++ /dev/null @@ -1,4 +0,0 @@ - hggit push and pull from a Git server - git Working with Git Repositories -For more information and instructions, see "hg help git" -Working with Git Repositories
rename from tests/test-help rename to tests/test-help.t --- a/tests/test-help +++ b/tests/test-help.t @@ -1,10 +1,12 @@ -#!/bin/sh +Tests that the various help files are properly registered -# Tests that the various help files are properly registered + $ echo "[extensions]" >> $HGRCPATH + $ echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH -echo "[extensions]" >> $HGRCPATH -echo "hggit=$(echo $(dirname $(dirname $0)))/hggit" >> $HGRCPATH - -hg help | grep 'git' | sed 's/ */ /g' -hg help hggit | grep 'help git' | sed 's/:hg:`help git`/"hg help git"/g' -hg help git | grep 'Working with Git Repositories' + $ 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