On 02/10/12 09:30, Charles Jardine wrote:
>  t/10general.t ............ Dubious, test returned 2 (wstat 512, 0x200)
This symptom indicates that the system built-in function is not working.

Try

  perl -e 'print system("exit 1;"), "\n"'

    Hmmm... The test that is failing is

is system("exit 1;"), 1<<8, 'system exit 1 should return 256';

which should be okay, but I'm suddenly thinking: on some shells 'exit' might not do what we would expect. Indeed, I just tried:

$ perl -E'say system "exit 1"'
-1

And yet the tests usually pass on my machine. I have to look at that in more details...

Joy,
`/anick





Reply via email to