changeset 35256:8fbb2678d8e8

tests: remove {a..h} bashism from remotenames I'm not bothering with a check-code test because this is a weird construct that I didn't even know existed before it was breaking the BSD build, and it also appears to fail if /bin/sh is dash like it is on our Linux builder. Differential Revision: https://phab.mercurial-scm.org/D1605
author Augie Fackler <augie@google.com>
date Wed, 06 Dec 2017 09:25:43 -0500
parents ad0de63e1d6a
children 3340d46a5c3f
files tests/test-remotenames.t
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-remotenames.t	Wed Dec 06 12:10:16 2017 +0800
+++ b/tests/test-remotenames.t	Wed Dec 06 09:25:43 2017 -0500
@@ -11,7 +11,10 @@
 
   $ hg init server
   $ cd server
-  $ for ch in {a..h}; do echo "foo" >> $ch; hg ci -Aqm "Added "$ch; done
+  $ for ch in a b c d e f g h; do
+  >   echo "foo" >> $ch
+  >   hg ci -Aqm "Added "$ch
+  > done
   $ hg glog
   @  7:ec2426147f0e  Added h
   |