changeset 13389:3efc99ac2ac4

tests: sort fncache
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 28 Jan 2011 13:54:38 +0100
parents a184dbd9b2c5
children 327719a44b6a
files tests/test-convert.t tests/test-fncache.t
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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: