changeset 24233:b6bcfd160e14

test-shelve: be more lenient about whitespace (issue4124) When running on a slower systems (eg. MIPS buildd), the age of the shelf can be 10 seconds or more, resulting in the output alignment changing and thus a test failure. This patch makes the spacing be matched more leniently.
author Tristan Seligmann <mithrandi@debian.org>
date Mon, 09 Mar 2015 12:32:29 -0400
parents f9e8739018d5
children 7977d35df13b
files tests/test-shelve.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-shelve.t	Mon Mar 09 14:32:17 2015 +0800
+++ b/tests/test-shelve.t	Mon Mar 09 12:32:29 2015 -0400
@@ -81,11 +81,11 @@
 ensure that our shelved changes exist
 
   $ hg shelve -l
-  default-01      (*)    changes to '[mq]: second.patch' (glob)
-  default         (*)    changes to '[mq]: second.patch' (glob)
+  default-01      (*)* changes to '[mq]: second.patch' (glob)
+  default         (*)* changes to '[mq]: second.patch' (glob)
 
   $ hg shelve -l -p default
-  default         (*)    changes to '[mq]: second.patch' (glob)
+  default         (*)* changes to '[mq]: second.patch' (glob)
   
   diff --git a/a/a b/a/a
   --- a/a/a