tests/test-cat
author Lee Cantey <lcantey@gmail.com>
Mon, 21 Aug 2006 10:46:58 -0700
changeset 3012 fa4229c60dd7
parent 1933 7544700fd931
permissions -rwxr-xr-x
Allow for MB/sec transfer rates in test-http-proxy and test-ssh. Also make the test more specific in test-http.

#!/bin/sh
#
mkdir t
cd t
hg init
echo 0 > a
echo 0 > b
hg ci -A -m m -d "1000000 0"
hg rm a
hg cat a
sleep 1 # make sure mtime is changed
echo 1 > b
hg ci -m m -d "1000000 0"
echo 2 > b
hg cat -r 0 a
hg cat -r 0 b
hg cat -r 1 a
hg cat -r 1 b