Subject: | [PATCH] Broken test: capture.t |
t/capture.t includes the following lines:
capture sub {system($^X, '-V:archname')}, \$out;
like($out, "/$^O/", 'capture() caught stdout from external command');
However, on my platform, HPUX the "perl -V:archname" output is
"archname='PA-RISC2.0-LP64';" and $^O is "hpux"
[FIX]
The test should instead use "-V:osname" instead of "-V:archname".