Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-ssh @ 4291:35b2e02367a5
test-ssh: use printenv.py
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 26 Mar 2007 23:50:04 -0300 |
parents | c0b449154a90 |
children | 58517f6eb1ad |
line wrap: on
line diff
--- a/tests/test-ssh +++ b/tests/test-ssh @@ -1,5 +1,7 @@ #!/bin/sh +cp "$TESTDIR"/printenv.py . + # This test tries to exercise the ssh functionality with a dummy script cat <<'EOF' > dummyssh @@ -33,7 +35,7 @@ hg ci -A -m "init" -d "1000000 0" foo fo echo '[server]' > .hg/hgrc echo 'uncompressed = True' >> .hg/hgrc echo '[hooks]' >> .hg/hgrc -echo 'changegroup = echo changegroup in remote: u=$HG_URL >> ../dummylog' >> .hg/hgrc +echo 'changegroup = python ../printenv.py changegroup-in-remote 0 ../dummylog' >> .hg/hgrc cd .. @@ -55,7 +57,7 @@ cd local hg verify echo '[hooks]' >> .hg/hgrc -echo 'changegroup = echo changegroup in local: u=$HG_URL >> ../dummylog' >> .hg/hgrc +echo 'changegroup = python ../printenv.py changegroup-in-local 0 ../dummylog' >> .hg/hgrc echo "# empty default pull" hg paths