[PATCH 1 of 3] tests: sort fncache
Adrian Buehlmann
adrian at cadifra.com
Fri Jan 28 08:33:57 CST 2011
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1296219278 -3600
# Node ID c6513f679208e240c4f13a7ba76e43da62aca3f5
# Parent 0d1dca7d2a041cb1cb6c6bd90608aa87068bde02
tests: sort fncache
diff --git a/tests/test-convert.t b/tests/test-convert.t
--- a/tests/test-convert.t
+++ b/tests/test-convert.t
@@ -381,7 +381,7 @@ testing: convert must not produce duplic
contents of fncache file:
- $ cat b/.hg/store/fncache
+ $ cat b/.hg/store/fncache | sort
data/a.i
data/b.i
diff --git a/tests/test-fncache.t b/tests/test-fncache.t
--- a/tests/test-fncache.t
+++ b/tests/test-fncache.t
@@ -6,7 +6,7 @@ Init repo1:
$ hg add
adding a
$ hg ci -m first
- $ cat .hg/store/fncache
+ $ cat .hg/store/fncache | sort
data/a.i
Testing a.i/b:
@@ -16,7 +16,7 @@ Testing a.i/b:
$ hg add
adding a.i/b
$ hg ci -m second
- $ cat .hg/store/fncache
+ $ cat .hg/store/fncache | sort
data/a.i
data/a.i.hg/b.i
@@ -27,10 +27,10 @@ Testing a.i.hg/c:
$ hg add
adding a.i.hg/c
$ hg ci -m third
- $ cat .hg/store/fncache
+ $ cat .hg/store/fncache | sort
data/a.i
+ data/a.i.hg.hg/c.i
data/a.i.hg/b.i
- data/a.i.hg.hg/c.i
Testing verify:
More information about the Mercurial-devel
mailing list