Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/run-tests @ 1923:7d83a351a936
fix testsuite for freebsd and one timingissue
author | Peter van Dijk <peter@dataloss.nl> |
---|---|
date | Tue, 21 Feb 2006 22:23:51 +0100 |
parents | 651690fe6be3 |
children | c71420b186b0 |
comparison
equal
deleted
inserted
replaced
1739:57de7e1a81d2 | 1923:7d83a351a936 |
---|---|
38 echo "Could not create temporary directory! Exiting." 1>&2 | 38 echo "Could not create temporary directory! Exiting." 1>&2 |
39 exit 1 | 39 exit 1 |
40 } | 40 } |
41 | 41 |
42 TESTDIR="$PWD" | 42 TESTDIR="$PWD" |
43 export TESTDIR | |
43 INST="$HGTMP/install" | 44 INST="$HGTMP/install" |
44 PYTHONDIR="$INST/lib/python" | 45 PYTHONDIR="$INST/lib/python" |
45 cd .. | 46 cd .. |
46 if ${PYTHON-python} setup.py install --home="$INST" \ | 47 if ${PYTHON-python} setup.py install --home="$INST" \ |
47 --install-lib="$PYTHONDIR" > tests/install.err 2>&1 | 48 --install-lib="$PYTHONDIR" > tests/install.err 2>&1 |
98 return $fail | 99 return $fail |
99 } | 100 } |
100 | 101 |
101 # list of prerequisite programs | 102 # list of prerequisite programs |
102 # stuff from coreutils (cat, rm, etc) are not tested | 103 # stuff from coreutils (cat, rm, etc) are not tested |
103 prereqs="python merge diff grep unzip md5sum gunzip sed" | 104 prereqs="python merge diff grep unzip gunzip sed" |
104 missing='' | 105 missing='' |
105 for pre in $prereqs ; do | 106 for pre in $prereqs ; do |
106 if type $pre > /dev/null 2>&1 ; then | 107 if type $pre > /dev/null 2>&1 ; then |
107 : prereq exists | 108 : prereq exists |
108 else | 109 else |