platform variation in exit codes

Mads Kiilerich mads at kiilerich.com
Fri Sep 24 19:44:39 CDT 2010


  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?

/Mads



More information about the Mercurial-devel mailing list