test-alias: add some tests to ensure we aren't double-substituting

An earlier iteration of an upcoming patch caused inadvertent
double substitution. Ensure we have test coverage for this.
This commit is contained in:
Siddharth Agarwal 2014-08-13 22:37:09 -07:00
parent 5b7e70a4d0
commit a15c76a2c8

View File

@ -229,6 +229,10 @@ simple shell aliases
foo
$ hg echoall 'test $2' foo
test $2 foo
$ hg echoall 'test $@' foo '$@'
test $@ foo $@
$ hg echoall 'test "$@"' foo '"$@"'
test "$@" foo "$@"
$ hg echo1 foo bar baz
foo
$ hg echo2 foo bar baz