From patchwork Sat Apr 18 01:07:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D8459: tests: stabilize test-log.t on Windows From: phabricator X-Patchwork-Id: 46185 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Sat, 18 Apr 2020 01:07:01 +0000 mharbison72 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I think this is because Windows doesn't recognize single quote. Other ssh based clones use this clunky style too. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D8459 AFFECTED FILES tests/test-log.t CHANGE DETAILS To: mharbison72, #hg-reviewers Cc: mercurial-devel diff --git a/tests/test-log.t b/tests/test-log.t --- a/tests/test-log.t +++ b/tests/test-log.t @@ -2334,10 +2334,10 @@ is global. So we shouldn't expect the namespace always exists. Using ssh:// makes sure a bundle repository is created from scratch. (issue6301) - $ hg clone -e "'$PYTHON' '$TESTDIR/dummyssh'" \ + $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" \ > -qr0 "ssh://user@dummy/`pwd`/a" a-clone $ hg incoming --config extensions.names=names.py -R a-clone \ - > -e "'$PYTHON' '$TESTDIR/dummyssh'" -T '{bars}\n' -l1 + > -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -T '{bars}\n' -l1 comparing with ssh://user@dummy/$TESTTMP/a searching for changes