[darcs-users] [patch263] Add test for issue 1503

Eric Kow kowey at darcs.net
Sat Jun 5 13:11:19 UTC 2010

Hi Adolfo,

Add test for issue 1503
> ] addfile ./tests/network/issue1503_prefer_local_caches_to_remote_one.sh
> hunk ./tests/network/issue1503_prefer_local_caches_to_remote_one.sh 1
> +#!/usr/bin/env bash
> +set -ev
> +
> +rm -rf S T
> +darcs get --lazy http://darcs.net/testing/repo1 S
> +darcs tag --repo S -m 2
> +darcs get --lazy http://darcs.net/testing/repo1 T
> +darcs pull --repo T S -a

How does this test test issue1503?  It wasn't obvious to me, but I may
have just missed something.

By the way, it's a good habit to use EXAMPLE.sh as a template for tests.


Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100605/1c8cb3f5/attachment.pgp>

More information about the darcs-users mailing list