summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-02-21 10:33:12 +0000
committerNicholas Clark <nick@ccl4.org>2011-02-21 10:33:12 +0000
commitb01f2fb210240eee556aff42c575e82a5ae3779b (patch)
tree4a68a837b5cacdd68dc70a35c3e5fecb04cad780 /Porting
parent1f0d8f98440c01382cb8734270b0c93d66cf2f4f (diff)
downloadperl-b01f2fb210240eee556aff42c575e82a5ae3779b.tar.gz
In runenv.t, inline runperl() into try(), its only caller.
d5226c4c8f9a2932e broke runperl_and_capture() out from runperl(), but didn't notice that there was only one caller for runperl(). Change try() to use is() for testing each of STDOUT and STDERR, instead of an explicit test, explicit diagnostics, and a summary to ok(). This increases the tests run, hence the plan needs changing. Also inline it_didnt_work() into runperl_and_capture(), and remove the END block that deletes the temporary files, which has been vestigial since 2d90ac9586ffb5c7 converted runenv.t to use test.pl's tmpfile().
Diffstat (limited to 'Porting')
0 files changed, 0 insertions, 0 deletions