tests/test-pull
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 17 Feb 2006 17:41:18 -0600
changeset 1738 f293ad87f928
parent 814 0902ffece4b4
child 1744 385b06493465
child 1927 397b62d5dd13
permissions -rwxr-xr-x
Don't hard-code /tmp in test-ro-message This makes the test succeed when $TMPDIR is set.

#!/bin/sh

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -m 1
hg verify
hg serve -p 20059 > /dev/null &
sleep 1 # wait for server to be started
cd ..

hg clone http://localhost:20059/ copy
cd copy
hg verify
hg co
cat foo
hg manifest
hg pull

kill $!