Show More
@@ -40,6 +40,7 b' HGTMP="${TMPDIR-/tmp}/hgtests.$RANDOM.$R' | |||||
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 .. | |
@@ -100,7 +101,7 b' run_one() {' | |||||
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 |
|
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 |
@@ -36,3 +36,4 b' http_proxy= python getarchive.py "$TIP" ' | |||||
36 | unzip -t archive.zip | sed "s/$QTIP/TIP/" |
|
36 | unzip -t archive.zip | sed "s/$QTIP/TIP/" | |
37 |
|
37 | |||
38 | kill $! |
|
38 | kill $! | |
|
39 | sleep 1 # wait for server to scream and die |
@@ -22,9 +22,9 b' hg debugindex .hg/data/b.i' | |||||
22 | echo "this should show the rename information in the metadata" |
|
22 | echo "this should show the rename information in the metadata" | |
23 | hg debugdata .hg/data/b.d 0 | head -n 3 | tail -n 2 |
|
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 | hg cat b > bsum |
|
26 | hg cat b > bsum | |
27 | md5sum bsum |
|
27 | $TESTDIR/md5sum.py bsum | |
28 | hg cat a > asum |
|
28 | hg cat a > asum | |
29 | md5sum asum |
|
29 | $TESTDIR/md5sum.py asum | |
30 | hg verify |
|
30 | hg verify |
@@ -30,5 +30,5 b' hg history' | |||||
30 | hg -v co -m |
|
30 | hg -v co -m | |
31 |
|
31 | |||
32 | ls -l ../test[12]/a > foo |
|
32 | ls -l ../test[12]/a > foo | |
33 |
cut -b |
|
33 | cut -b 1-10 < foo | |
34 |
|
34 |
@@ -1,7 +1,8 b'' | |||||
1 | #!/bin/sh |
|
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 | echo $? |
|
4 | echo $? | |
|
5 | sed 's/[0-9]//g' < clonefail.out | |||
5 | ls copy |
|
6 | ls copy | |
6 |
|
7 | |||
7 | # This server doesn't do range requests so it's basically only good for |
|
8 | # This server doesn't do range requests so it's basically only good for |
General Comments 0
You need to be logged in to leave comments.
Login now