diff tests/_exc-util.sh @ 905:b177fde040dd

exchange: use fixed order for obstore content The obsstore content seems unstable from one version of python to another (we most certainly use some dict) we fix the order once and for all.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 22 Apr 2014 17:00:24 -0700
parents 001f8508910a
children f7f4a1fac6c0
line wrap: on
line diff
--- a/tests/_exc-util.sh	Sun Apr 20 17:40:56 2014 -0400
+++ b/tests/_exc-util.sh	Tue Apr 22 17:00:24 2014 -0700
@@ -60,11 +60,11 @@
     fi
     echo "## initial state"
     echo "# obstore: main"
-    hg -R main     debugobsolete
+    hg -R main     debugobsolete | sort
     echo "# obstore: pushdest"
-    hg -R pushdest debugobsolete
+    hg -R pushdest debugobsolete | sort
     echo "# obstore: pulldest"
-    hg -R pulldest debugobsolete
+    hg -R pulldest debugobsolete | sort
 
     if [ -n "$target" ]; then
         echo "## pushing \"$target\"" from main to pushdest
@@ -75,11 +75,11 @@
     fi
     echo "## post push state"
     echo "# obstore: main"
-    hg -R main     debugobsolete
+    hg -R main     debugobsolete | sort
     echo "# obstore: pushdest"
-    hg -R pushdest debugobsolete
+    hg -R pushdest debugobsolete | sort
     echo "# obstore: pulldest"
-    hg -R pulldest debugobsolete
+    hg -R pulldest debugobsolete | sort
     if [ -n "$target" ]; then
         echo "## pulling \"$targetnode\"" from main into pulldest
         hg -R pulldest pull -r $targetnode $@ main
@@ -89,11 +89,11 @@
     fi
     echo "## post pull state"
     echo "# obstore: main"
-    hg -R main     debugobsolete
+    hg -R main     debugobsolete | sort
     echo "# obstore: pushdest"
-    hg -R pushdest debugobsolete
+    hg -R pushdest debugobsolete | sort
     echo "# obstore: pulldest"
-    hg -R pulldest debugobsolete
+    hg -R pulldest debugobsolete | sort
 
     cd ..