In perl.git, the branch smoke-me/tweak-run-tests has been created
<http://perl5.git.perl.org/perl.git/commitdiff/509a2f669223ac7ed75b674fa9b8bea43665a039?hp=0000000000000000000000000000000000000000>
at 509a2f669223ac7ed75b674fa9b8bea43665a039 (commit)
- Log -----------------------------------------------------------------
commit 509a2f669223ac7ed75b674fa9b8bea43665a039
Author: Nicholas Clark <nick@ccl4.org>
Date: Sun Feb 26 15:24:21 2012 +0100
Improve the tests for -x
Test the error message generated when -x can't find a "#!perl" line.
Test that this error message still appears when -x is used with -e.
M MANIFEST
M t/run/switchx.aux
M t/run/switchx.t
A t/run/switchx3.aux
commit 58f4be15ca5c6af8391ddae5084f106eb8d59970
Author: Nicholas Clark <nick@ccl4.org>
Date: Sun Feb 26 14:15:02 2012 +0100
Improve the tests for the -n and -p switches.
Verify that -p actually runs the code in the program body.
Verify that -n doesn't implicitly print out the contents of $_.
For both, verify that an END block runs after the implicit loop.
M t/run/switchn.t
M t/run/switchp.t
commit 1624727af400cb8a7ae4ae77f2b6d2b6a3022d26
Author: Nicholas Clark <nick@ccl4.org>
Date: Sun Feb 26 14:10:35 2012 +0100
Simplify platform specific code in t/run/cloexec.t
Don't assign to two lexical variables, $Is_VMS and $Is_Win32, only to use
them immediately for the same purpose - to skip the entire test.
In turn, there's no need to conditionally set $quote to a value suitable for
VMS or Win32, when neither OS ever runs the test.
The code has been this way since the file was added by commit
742218b34f58f961 in Nov 2006. Hence I don't think that the vestigial $quote
logic corresponds to pre-commit version that did run on these platforms.
Instead I infer that it has come from t/op/exec.t, used as a template for
running sub-scripts in a portable fashion.
M t/run/cloexec.t
-----------------------------------------------------------------------
--
Perl5 Master Repository