##// 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:

r1933:7544700f default
r2570:2264b2b0 default
Show More
test-basic
12 lines | 127 B | text/plain | TextLexer
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add a simple testing framework...
r331
mkdir t
cd t
hg init
echo a > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m test -d "1000000 0"
mpm@selenic.com
Add a simple testing framework...
r331 hg history
hg manifest
hg cat a
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 hg verify