[darcs-users] [patch274] Add test for issue1210: global cache gets recorded in ...

Eric Kow kowey at darcs.net
Tue Jun 8 09:06:16 UTC 2010


Add test for issue1210: global cache gets recorded in _darcs/prefs/sources
--------------------------------------------------------------------------
> hunk ./tests/issue1210_global_cache_gets_recorded_in_darcs_prefs_sources.sh 26
> +set -ev
> +
> +. lib
> +
> +cacheDir=$HOME/.darcs/cache
> +
> +rm -rf R S
> +darcs init  --repo R
> +darcs get R S
> +not grep "$cacheDir" S/_darcs/prefs/sources

Seems fairly straightforward.  Applied, thanks!
By the way, that's an awfully long test name.  I've taken the liberty
of renaming that to issue1210-no-global-cache-in-sources.sh

-- 
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: 198 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100608/8dd11c63/attachment.pgp>


More information about the darcs-users mailing list