run-tests.py: avoid using popen2.Popen4 - use subprocess instead
Use subprocess to emulate Popen4 if available - similar to how it is done in
util.py.
Using popen2 under python 2.6 gives
DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
#!/bin/sh
hg init a
cd a
hg log
hg grep wah
hg manifest
hg verify
ls .hg
ls .hg/store
cd ..
hg clone a b
cd b
hg verify
ls .hg
ls .hg/store