tests: remove {a..h} bashism from remotenames
authorAugie Fackler <augie@google.com>
Wed, 06 Dec 2017 09:25:43 -0500
changeset 35256 8fbb2678d8e8
parent 35255 ad0de63e1d6a
child 35257 3340d46a5c3f
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
tests/test-remotenames.t
--- 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
   |