At Sunday 06 June 2010, Ralf Wildenhues <[email protected]> wrote: > Hi Stefano, > > * Stefano Lattarini wrote on Thu, Jun 03, 2010 at 02:07:19PM CEST: > > What about the attached new try? It just complicates the > > generated tests a little bit, but this is a more than fair > > tradeoff IMO. > > That looks like a better idea to me. However, 'return' from a > script sourced with '.' is not portable to, e.g., Solaris or Tru64 > 5.1D sh. Oops, you're right. I tested it with Heirloom sh, and indeed it complained with "cannot return when not in function", but didn't reflect the failure in the script exit status -- and I didn't look at test logs :-( -- my bad.
Thanks for having looked into this and all those other patches. Regards, Stefano
