tests: sort fncache
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 28 Jan 2011 13:54:38 +0100
changeset 13389 3efc99ac2ac4
parent 13388 a184dbd9b2c5
child 13390 327719a44b6a
tests: sort fncache
tests/test-convert.t
tests/test-fncache.t
--- a/tests/test-convert.t	Fri Feb 11 20:35:32 2011 +0100
+++ b/tests/test-convert.t	Fri Jan 28 13:54:38 2011 +0100
@@ -381,7 +381,7 @@
 
 contents of fncache file:
 
-  $ cat b/.hg/store/fncache
+  $ cat b/.hg/store/fncache | sort
   data/a.i
   data/b.i
 
--- a/tests/test-fncache.t	Fri Feb 11 20:35:32 2011 +0100
+++ b/tests/test-fncache.t	Fri Jan 28 13:54:38 2011 +0100
@@ -6,7 +6,7 @@
   $ 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 @@
   $ 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 @@
   $ 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: