##// END OF EJS Templates
run-tests.py: make tests use same python interpreter as test harness....
run-tests.py: make tests use same python interpreter as test harness. this is wanted because some tests run python interpreter directly. must use same python interpreter in tests as in main harness or problems will happen because of e.g. different python abi if run-tests.py run with python 2.5 but system python is 2.4. fix is to see if system python is used and is named python. if no, put symlink called python at front of shell search path.

File last commit:

r1929:85daa4e0 merge default
r2570:2264b2b0 default
Show More
test-pull
21 lines | 264 B | text/plain | TextLexer
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add some more tests...
r336
mkdir test
cd test
echo foo>foo
hg init
hg addremove
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m 1
mpm@selenic.com
Add some more tests...
r336 hg verify
Thomas Arendsen Hein
Don't use mktemp in tests, we're already in a secure temp dir.
r1786 hg serve -p 20059 -d --pid-file=hg.pid
mpm@selenic.com
Add some more tests...
r336 cd ..
Peter van Dijk
add http_proxy= lines to test-bad-pull and test-pull
r1927 http_proxy= hg clone http://localhost:20059/ copy
mpm@selenic.com
Add some more tests...
r336 cd copy
hg verify
hg co
cat foo
hg manifest
mpm@selenic.com
Fix empty pull bug that appeared this morning...
r522 hg pull
mpm@selenic.com
Add some more tests...
r336
Thomas Arendsen Hein
Don't use mktemp in tests, we're already in a secure temp dir.
r1786 kill `cat ../test/hg.pid`