Patchwork [2,of,2] tests: rename syshg to testrepohg

login
register
mail settings
Submitter Matt Harbison
Date July 1, 2017, 12:47 a.m.
Message ID <op.y2n9s4h69lwrgf@envy>
Download mbox | patch
Permalink /patch/21855/
State Accepted
Headers show

Comments

Matt Harbison - July 1, 2017, 12:47 a.m.
On Fri, 30 Jun 2017 17:28:56 -0400, Adam Simpkins <simpkins@fb.com> wrote:

> # HG changeset patch
> # User Adam Simpkins <simpkins@fb.com>
> # Date 1498857153 25200
> #      Fri Jun 30 14:12:33 2017 -0700
> # Node ID 84ebb78e36ce1de0e93b8b7a2bf5ab02a4321c2b
> # Parent  a7c35ac3aba0f9113b0afb893c43d9104867a5e0
> tests: rename syshg to testrepohg

My Windows system doesn't like this:



FWIW, I can run *check* tests with what's in committed again.
Adam Simpkins - July 1, 2017, 1:15 a.m.
On Jun 30, Matt Harbison wrote:
> On Fri, 30 Jun 2017 17:28:56 -0400, Adam Simpkins <simpkins@fb.com> wrote:
> 
> ># HG changeset patch
> ># User Adam Simpkins <simpkins@fb.com>
> ># Date 1498857153 25200
> >#      Fri Jun 30 14:12:33 2017 -0700
> ># Node ID 84ebb78e36ce1de0e93b8b7a2bf5ab02a4321c2b
> ># Parent  a7c35ac3aba0f9113b0afb893c43d9104867a5e0
> >tests: rename syshg to testrepohg
> 
> My Windows system doesn't like this:
> 
> --- c:/Users/Matt/projects/hg/tests/test-imports-checker.t
> +++ c:/Users/Matt/projects/hg/tests/test-imports-checker.t.err
> @@ -2,6 +2,8 @@
> 
>    $ . "$TESTDIR/helpers-testrepo.sh"
>    $ testrepohgenv
> +  $TESTTMP.sh: line 5: testrepohgenv: command not found
> +  [127]
>    $ import_checker="$TESTDIR"/../contrib/import-checker.py
> 
>  Run the doctests from the import checker, and make sure
> 
> 
> FWIW, I can run *check* tests with what's in committed again.

Whoops, I didn't update the other side of the if check in this diff
(the case where the local hg script works).  I'll send out an update
to fix this.

Patch

--- c:/Users/Matt/projects/hg/tests/test-imports-checker.t
+++ c:/Users/Matt/projects/hg/tests/test-imports-checker.t.err
@@ -2,6 +2,8 @@ 

    $ . "$TESTDIR/helpers-testrepo.sh"
    $ testrepohgenv
+  $TESTTMP.sh: line 5: testrepohgenv: command not found
+  [127]
    $ import_checker="$TESTDIR"/../contrib/import-checker.py

  Run the doctests from the import checker, and make sure