[PATCH 3 of 4 V2] run-tests: support per-line conditional output in tests

Yuya Nishihara yuya at tcha.org
Fri Apr 7 08:42:49 EDT 2017


On Thu, 06 Apr 2017 21:11:42 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1491448647 14400
> #      Wed Apr 05 23:17:27 2017 -0400
> # Node ID 8e3cf915084723551d0b68094cede7e65f49cf39
> # Parent  7c5e861f39fbffdfae0e31d1edba419a62391afe
> run-tests: support per-line conditional output in tests

> @@ -341,6 +361,12 @@
>    xyz
>    + echo *SALT* 15 0 (glob)
>    *SALT* 15 0 (glob)
> +  + printf 'zyx\nwvu\ntsr\n'

Globbed out quotes. IIRC, it is shell dependent.


More information about the Mercurial-devel mailing list