sapling/tests/test-help
David M. Carr 6d5f028bb1 tests: fix exec mode on test-help and test-keywords
These tests were being skipped with "not executable" messages
2012-09-05 23:27:31 -04:00

11 lines
334 B
Bash
Executable File

#!/bin/sh
# Tests that the various help files are properly registered
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'