test-dispatch
25 lines
| 248 B
| text/plain
|
TextLexer
/ tests / test-dispatch
Brendan Cully
|
r4563 | #!/bin/sh | ||
# test command parsing and dispatch | ||||
hg init a | ||||
cd a | ||||
echo a > a | ||||
hg ci -Ama -d '0 0' | ||||
Matt Mackall
|
r4621 | echo "# missing arg" | ||
hg cat | ||||
Brendan Cully
|
r4563 | echo '% [defaults]' | ||
hg cat a | ||||
Alexis S. L. Carvalho
|
r5523 | cat >> $HGRCPATH <<EOF | ||
Brendan Cully
|
r4563 | [defaults] | ||
cat = -v | ||||
EOF | ||||
hg cat a | ||||
Matt Mackall
|
r4621 | |||
Brendan Cully
|
r4654 | echo '% no repo' | ||
cd .. | ||||
hg cat | ||||
exit 0 | ||||
Thomas Arendsen Hein
|
r4659 | |||