D2236: tests: remove use of bashism $RANDOM to fix test-narrow.t on non-bash shells

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Tue Feb 13 18:27:03 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG068f520754ca: tests: remove use of bashism $RANDOM to fix test-narrow.t on non-bash shells (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2236?vs=5658&id=5665

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

AFFECTED FILES
  tests/test-narrow.t

CHANGE DETAILS

diff --git a/tests/test-narrow.t b/tests/test-narrow.t
--- a/tests/test-narrow.t
+++ b/tests/test-narrow.t
@@ -51,7 +51,7 @@
   [255]
 
 Names with '.' in them are OK.
-  $ hg clone --narrow ssh://user@dummy/master $RANDOM --include a/.b/c
+  $ hg clone --narrow ssh://user@dummy/master should-work --include a/.b/c
   requesting all changes
   adding changesets
   adding manifests



To: durin42, #hg-reviewers, martinvonz
Cc: mercurial-devel


More information about the Mercurial-devel mailing list