platform variation in exit codes

Adrian Buehlmann adrian at cadifra.com
Sat Sep 25 03:24:04 CDT 2010


On 25.09.2010 02:44, Mads Kiilerich wrote:
>   Testing on solaris fails with these diffs:
> 
> diff --git a/tests/test-bisect.t b/tests/test-bisect.t
> --- a/tests/test-bisect.t
> +++ b/tests/test-bisect.t
> @@ -270,7 +270,7 @@
>     summary:     msg 1
> 
>     $ false
> -  [1]
> +  [255]
> 
> 
>     $ hg bisect -r
> diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
> --- a/tests/test-run-tests.t
> +++ b/tests/test-run-tests.t
> @@ -34,4 +34,4 @@
>   Exit code:
> 
>     $ false
> -  [1]
> +  [255]
> 
> 
> Should we introduce (glob) and (re) for exit code lines too and match on 
> [*] (glob)? Or replace false with something else?


I'd vote for simply removing these two '$ false' lines. Near as I can
tell, they are unneeded.


More information about the Mercurial-devel mailing list