[PATCH 2 of 2] tests: ensure run-tests handles multiple lines of churn

Yuya Nishihara yuya at tcha.org
Thu Mar 24 10:52:58 EDT 2016


On Mon, 21 Mar 2016 16:13:50 -0500, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1458593806 0
> #      Mon Mar 21 20:56:46 2016 +0000
> # Node ID 3ab81f2dc0dfedbc98f4704959b376f6b5431486
> # Parent  d104b8e4e18c6f98267ec4bbc2bb4957e2571eeb
> tests: ensure run-tests handles multiple lines of churn

This somehow failed on Windows. Can you take a look?

> +test churn with globs
> +  $ cat > test-failure.t <<EOF
> +  >   $ echo "bar/baz"; echo "bar/bad"
> +  >   bar/bad (glob)
> +  >   bar/baz (glob)
> +  > EOF
> +  $ rt test-failure.t
> +  
> +  --- $TESTTMP/test-failure.t
> +  +++ $TESTTMP/test-failure.t.err
> +  @@ -1,3 +1,3 @@
> +     $ echo "bar/baz"; echo "bar/bad"
> +  +  bar/baz (glob)
> +     bar/bad (glob)
> +  -  bar/baz (glob)

-  +  bar/baz (glob)
-     bar/bad (glob)
+  -  bar/bad (glob)
   -  bar/baz (glob)
+  +  bar/baz
+  +  bar/bad


More information about the Mercurial-devel mailing list