[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial
Subject:    Re: test failures of 0.9.1 on Solaris (Nevada)
From:       Danek Duvall <danek.duvall () sun ! com>
Date:       2006-07-31 18:38:57
Message-ID: 20060731183857.GJ3681 () scuba ! sfbay ! sun ! com
[Download RAW message or body]

Just in case someone asks, I'm still getting these failures on the latest
tip.  It also adds

    --- test-abort-checkin.out      Mon Jul 31 11:15:49 2006
    +++ test-abort-checkin.err      Mon Jul 31 11:18:31 2006
    @@ -1,6 +1,6 @@
    -abort: edit failed: false exited with status 1
    +abort: edit failed: false exited with status 255
     transaction abort!
     rollback completed
    -abort: edit failed: false exited with status 1
    +abort: edit failed: false exited with status 255
     transaction abort!
     rollback completed

which is because /bin/false on Solaris returns 255 instead of 1,

    --- test-mq.out Mon Jul 31 11:15:49 2006
    +++ test-mq.err Mon Jul 31 11:17:45 2006
    @@ -60,7 +60,7 @@
     % qrefresh
     foo bar
     
    -diff -r  xa
    +diff -r 5380b2666bb6 a
     --- a/a 
     +++ b/a 
     @@ -1,1 +1,2 @@ a

which is because sed on Solaris doesn't like "^" inside parens --

    "s/\(^diff -r \)\([a-f0-9]* \)/\1 x/"

on line 51 of test-mq should be

    "s/^\(diff -r \)\([a-f0-9]* \)/\1 x/"

and

    --- test-mq-qrefresh-replace-log-message.out    Mon Jul 31 11:15:49 2006
    +++ test-mq-qrefresh-replace-log-message.err    Mon Jul 31 11:18:33 2006
    @@ -13,7 +13,8 @@


     =======================
    -Should display 'Third commit message\n This is the 3rd log message'
    +Should display 'Third commit message
    + This is the 3rd log message'
     description:
     Third commit message
      This is the 3rd log message
    @@ -21,7 +22,8 @@


     =======================
    -Should display 'Fifth commit message\n This is the 5th log message'
    +Should display 'Fifth commit message
    + This is the 5th log message'
     description:
     Fifth commit message

which is because /bin/echo on Solaris interprets \n characters by default.
/usr/ucb/echo doesn't, but I'm not at all convinced that's the right way to
go here, either.

Danek
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic