Patchwork tests: change to parent directory before all "hg init" in test-log.t

login
register
mail settings
Submitter Denis Laxalde
Date Oct. 4, 2017, 8:02 a.m.
Message ID <ce039e36330840dd7f76.1507104175@sh77.tls.logilab.fr>
Download mbox | patch
Permalink /patch/24455/
State Accepted
Headers show

Comments

Denis Laxalde - Oct. 4, 2017, 8:02 a.m.
# HG changeset patch
# User Denis Laxalde <denis.laxalde@logilab.fr>
# Date 1507104135 -7200
#      Wed Oct 04 10:02:15 2017 +0200
# Node ID ce039e36330840dd7f76d0573acf993a0966bac4
# Parent  2fd06499dc8e6a5a784b1334b925c289d7b54e4e
# Available At http://hg.logilab.org/users/dlaxalde/hg
#              hg pull http://hg.logilab.org/users/dlaxalde/hg -r ce039e363308
tests: change to parent directory before all "hg init" in test-log.t

Add a "cd .." before the second "hg init" so that all repositories are on top
level of test directory. Makes inspection of test directory easier.
Augie Fackler - Oct. 4, 2017, 12:51 p.m.
> On Oct 4, 2017, at 04:02, Denis Laxalde <denis@laxalde.org> wrote:
> 
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde@logilab.fr>
> # Date 1507104135 -7200
> #      Wed Oct 04 10:02:15 2017 +0200
> # Node ID ce039e36330840dd7f76d0573acf993a0966bac4
> # Parent  2fd06499dc8e6a5a784b1334b925c289d7b54e4e
> # Available At http://hg.logilab.org/users/dlaxalde/hg
> #              hg pull http://hg.logilab.org/users/dlaxalde/hg -r ce039e363308
> tests: change to parent directory before all "hg init" in test-log.t

queued, thanks

Patch

diff --git a/tests/test-log.t b/tests/test-log.t
--- a/tests/test-log.t
+++ b/tests/test-log.t
@@ -15,6 +15,8 @@  Log on empty repository: checking consis
   $ hg log -r null -q
   -1:000000000000
 
+  $ cd ..
+
 The g is crafted to have 2 filelog topological heads in a linear
 changeset graph