tests/test-help
author Henri Wiechers <hwiechers@gmail.com>
Mon, 21 Dec 2009 12:18:43 +0200
changeset 10110 9ed13f718e53
parent 896 01215ad04283
child 10121 ac212bcc852b
permissions -rwxr-xr-x
test-help: improve test coverage Adds a test for displaying the short list of commands with the verbose option i.e. 'hg -v help shortlist'. Extends test coverage of commands.help_ by 2 lines.

#!/bin/sh

hg
hg -q
hg help
hg -q help

echo %% test short command list with verbose option
hg -v help shortlist | sed 's/[(]version [^)]*[)]/(version xxx)/'

hg add -h
hg add --skjdfks
hg help diff
hg help status
hg -q help status
hg help foo
hg skjdfks

exit 0