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

login
register
mail settings
Submitter phabricator
Date Feb. 13, 2018, 11:27 p.m.
Message ID <a83ff40ba849c639bb35272c948ad5b4@localhost.localdomain>
Download mbox | patch
Permalink /patch/27859/
State Not Applicable
Headers show

Comments

phabricator - Feb. 13, 2018, 11:27 p.m.
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




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

Patch

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