##// END OF EJS Templates
tests: unify test-acl
tests: unify test-acl

File last commit:

r7035:9d023ef7 default
r11849:95a93161 default
Show More
test-username-newline
22 lines | 264 B | text/plain | TextLexer
/ tests / test-username-newline
Benoit Boissinot
forbid username with '\n' at the changelog level...
r7035 #!/bin/sh
#
hg init foo
cd foo
touch a
unset HGUSER
echo "[ui]" >> .hg/hgrc
echo "username= foo" >> .hg/hgrc
echo " bar1" >> .hg/hgrc
hg ci -Am m
rm .hg/hgrc
HGUSER=`(echo foo; echo bar2)` hg ci -Am m
hg ci -Am m -u "`(echo foo; echo bar3)`"
true