comparison tests/test-help.t @ 27386:55ac8006880f

test-help: tighten grep patterns Help should output section headings, but no debug commands
author timeless <timeless@mozdev.org>
date Mon, 14 Dec 2015 06:00:32 +0000
parents 2278870bb997
children dfab0afde928
comparison
equal deleted inserted replaced
27385:20e7de6205e7 27386:55ac8006880f
1207 $ hg help -c -v|egrep DEPRECATED|wc -l|egrep '^\s*0\s*$' 1207 $ hg help -c -v|egrep DEPRECATED|wc -l|egrep '^\s*0\s*$'
1208 [1] 1208 [1]
1209 1209
1210 Test -e / -c / -k combinations 1210 Test -e / -c / -k combinations
1211 1211
1212 $ hg help -c|egrep '^\S|debug' 1212 $ hg help -c|egrep '^[A-Z].*:|^ debug'
1213 Commands: 1213 Commands:
1214 $ hg help -e|egrep '^\S' 1214 $ hg help -e|egrep '^[A-Z].*:|^ debug'
1215 Extensions: 1215 Extensions:
1216 $ hg help -k|egrep '^\S' 1216 $ hg help -k|egrep '^[A-Z].*:'
1217 Topics: 1217 Topics:
1218 Commands: 1218 Commands:
1219 Extensions: 1219 Extensions:
1220 Extension Commands: 1220 Extension Commands:
1221 $ hg help -c schemes 1221 $ hg help -c schemes