Patchwork D9807: tests: stabilize the output of test-shelve2.t

login
register
mail settings
Submitter phabricator
Date Jan. 17, 2021, 7:19 a.m.
Message ID <differential-rev-PHID-DREV-prpzzn5qxrei5xc76z26-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48118/
State Superseded
Headers show

Comments

phabricator - Jan. 17, 2021, 7:19 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9807

AFFECTED FILES
  tests/test-shelve2.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-shelve2.t b/tests/test-shelve2.t
--- a/tests/test-shelve2.t
+++ b/tests/test-shelve2.t
@@ -759,7 +759,7 @@ 
   $ hg shelve -d junk1
   abort: shelved change 'junk1' not found
   [10]
-  $ find .hg/shelve*
+  $ find .hg/shelve* | sort
   .hg/shelved
   .hg/shelved/junk1.patch
 
@@ -772,7 +772,7 @@ 
   $ hg shelve -d junk2
   abort: shelved change 'junk2' not found
   [10]
-  $ find .hg/shelve*
+  $ find .hg/shelve* | sort
   .hg/shelved
   .hg/shelved/junk1.patch
   .hg/shelved/junk2.hg
@@ -786,11 +786,11 @@ 
   $ hg shelve -d junk3
   abort: shelved change 'junk3' not found
   [10]
-  $ find .hg/shelve*
+  $ find .hg/shelve* | sort
   .hg/shelved
   .hg/shelved/junk1.patch
+  .hg/shelved/junk2.hg
   .hg/shelved/junk3
-  .hg/shelved/junk2.hg
 
   $ cd ..