Patchwork D1578: tests: removes bashism from test-unamend.t

login
register
mail settings
Submitter phabricator
Date Dec. 2, 2017, 1:04 a.m.
Message ID <differential-rev-PHID-DREV-ktjkbny4w6wzg5zy3mju-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25876/
State Superseded
Headers show

Comments

phabricator - Dec. 2, 2017, 1:04 a.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  FreeBSD builders fail because of bashism.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-unamend.t

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-unamend.t b/tests/test-unamend.t
--- a/tests/test-unamend.t
+++ b/tests/test-unamend.t
@@ -16,7 +16,7 @@ 
 
   $ hg init repo
   $ cd repo
-  $ for ch in {a..h}; do touch $ch; echo "foo" >> $ch; hg ci -Aqm "Added "$ch; done
+  $ for ch in a b c d e f g h; do touch $ch; echo "foo" >> $ch; hg ci -Aqm "Added "$ch; done
 
   $ hg glog
   @  7:ec2426147f0e  Added h