Tanaka Akira <akr / m17n.org> writes:

> Now my patch for this problem is guarded by Solaris.only.  But this is
> not Solaris specific.  I know only two shells which exec last command
> of an option argument of -c: bash and zsh.  So, now, the test is
> failed on other than Linux, MacOS X and Solaris, I think.  I suggest
> simply rip off the guard because it doesn't depend to ruby behaviour.

Then it fails under the Windows interpreters (which is why I put the
guard back).


>   pipe = IO.popen("#$interpreter -e 'p $$'", "r")
>   assert_equal(pid.to_i, pipe.pid)

Possibly the test itself could be changed to overcome this
problem. Anyone ideas on a better way of testing IO#pid?


Dave