comparison tests/test-help @ 10110:9ed13f718e53

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.
author Henri Wiechers <hwiechers@gmail.com>
date Mon, 21 Dec 2009 12:18:43 +0200
parents 01215ad04283
children ac212bcc852b
comparison
equal deleted inserted replaced
10109:be041d6714ed 10110:9ed13f718e53
2 2
3 hg 3 hg
4 hg -q 4 hg -q
5 hg help 5 hg help
6 hg -q help 6 hg -q help
7
8 echo %% test short command list with verbose option
9 hg -v help shortlist | sed 's/[(]version [^)]*[)]/(version xxx)/'
10
7 hg add -h 11 hg add -h
8 hg add --skjdfks 12 hg add --skjdfks
9 hg help diff 13 hg help diff
10 hg help status 14 hg help status
11 hg -q help status 15 hg -q help status