tests: avoid checking the exitcode of false
Solaris false returns 255 instead of 1, so we remove one unneeded instance and
replaces another with (exit 1) as suggested by Brodie Rao.
#!/bin/sh
cat >> $HGRCPATH <<EOF
[extensions]
hgcia=
[hooks]
changegroup.cia = python:hgext.hgcia.hook
[cia]
user = testuser
project = testproject
test = True
EOF
hg init src
hg init cia
cd src
echo foo > foo
hg ci -Amfoo
hg push ../cia