# HG changeset patch # User Tristan Seligmann # Date 2015-03-09 16:32:29 # Node ID b6bcfd160e1472b7677aa77eb0661a1a1e81ee37 # Parent f9e8739018d55d8e2a87bf18bf78abf7a080cbfc 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. diff --git a/tests/test-shelve.t b/tests/test-shelve.t --- a/tests/test-shelve.t +++ b/tests/test-shelve.t @@ -81,11 +81,11 @@ the common case - no options or filename 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