D1605: tests: remove {a..h} bashism from remotenames
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Dec 6 14:25:56 UTC 2017
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
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.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1605
AFFECTED FILES
tests/test-remotenames.t
CHANGE DETAILS
diff --git a/tests/test-remotenames.t b/tests/test-remotenames.t
--- a/tests/test-remotenames.t
+++ b/tests/test-remotenames.t
@@ -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
|
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list