##// END OF EJS Templates
fix testsuite for freebsd and one timingissue
Peter van Dijk -
r1923:7d83a351 default
parent child Browse files
Show More
@@ -40,6 +40,7 b' HGTMP="${TMPDIR-/tmp}/hgtests.$RANDOM.$R'
40 40 }
41 41
42 42 TESTDIR="$PWD"
43 export TESTDIR
43 44 INST="$HGTMP/install"
44 45 PYTHONDIR="$INST/lib/python"
45 46 cd ..
@@ -100,7 +101,7 b' run_one() {'
100 101
101 102 # list of prerequisite programs
102 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 105 missing=''
105 106 for pre in $prereqs ; do
106 107 if type $pre > /dev/null 2>&1 ; then
@@ -36,3 +36,4 b' http_proxy= python getarchive.py "$TIP" '
36 36 unzip -t archive.zip | sed "s/$QTIP/TIP/"
37 37
38 38 kill $!
39 sleep 1 # wait for server to scream and die
@@ -22,9 +22,9 b' hg debugindex .hg/data/b.i'
22 22 echo "this should show the rename information in the metadata"
23 23 hg debugdata .hg/data/b.d 0 | head -n 3 | tail -n 2
24 24
25 md5sum .hg/data/b.d
25 $TESTDIR/md5sum.py .hg/data/b.d
26 26 hg cat b > bsum
27 md5sum bsum
27 $TESTDIR/md5sum.py bsum
28 28 hg cat a > asum
29 md5sum asum
29 $TESTDIR/md5sum.py asum
30 30 hg verify
@@ -30,5 +30,5 b' hg history'
30 30 hg -v co -m
31 31
32 32 ls -l ../test[12]/a > foo
33 cut -b 0-10 < foo
33 cut -b 1-10 < foo
34 34
@@ -1,7 +1,8 b''
1 1 #!/bin/sh
2 2
3 http_proxy= hg clone old-http://localhost:20059/ copy
3 http_proxy= hg clone old-http://localhost:20059/ copy > clonefail.out 2>&1
4 4 echo $?
5 sed 's/[0-9]//g' < clonefail.out
5 6 ls copy
6 7
7 8 # This server doesn't do range requests so it's basically only good for
@@ -1,5 +1,5 b''
1 abort: <urlopen error (111, 'Connection refused')>
2 1 255
2 abort: <urlopen error (, 'Connection refused')>
3 3 ls: copy: No such file or directory
4 4 changeset: 0:61c9426e69fe
5 5 tag: tip
General Comments 0
You need to be logged in to leave comments. Login now