Mercurial > hg-stable
diff tests/test-lfconvert.t @ 20471:ea005e754c9c
tests: lines with largefile .* file://$TESTTMP also match on windows
on windows, largefile paths are written as "file:///C:/temp/...", corresponding
to "file:///$TESTTMP/..." (all three slashes shown).
But on posix systems they are written as "file:///tmp/..." corresponding to
"file://$TESTTMP/..." (only two slashes shown).
Write the glob "file:/*/" to match both versions.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Mon, 27 Jan 2014 21:39:25 +0100 |
parents | aa9385f983fa |
children | 19d6fec60b81 |
line wrap: on
line diff
--- a/tests/test-lfconvert.t Tue Feb 11 16:30:23 2014 -0800 +++ b/tests/test-lfconvert.t Mon Jan 27 21:39:25 2014 +0100 @@ -342,7 +342,7 @@ $ rm largefiles-repo/.hg/largefiles/* $ hg lfconvert --to-normal issue3519 normalized3519 initializing destination normalized3519 - large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file://$TESTTMP/largefiles-repo (glob) + large: largefile 2e000fa7e85759c7f4c254d4d9c33ef481e459a7 not available from file:/*/$TESTTMP/largefiles-repo (glob) abort: missing largefile 'large' from revision d4892ec57ce212905215fad1d9018f56b99202ad [255]