This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct taint.t to skip the truncate test if $Config{d_truncate} is false.
authorNicholas Clark <nick@ccl4.org>
Mon, 28 Feb 2011 14:05:38 +0000 (14:05 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 28 Feb 2011 14:05:38 +0000 (14:05 +0000)
commite2b4a08c75901ae8a8a00efe0bd4b0503f5d38d2
tree9bb978571e16339f464b49fefe0d2049545a5b43
parentbbe548ff05936cdfd51ceb406ef720e06799456e
Correct taint.t to skip the truncate test if $Config{d_truncate} is false.

Previously it had a comment, present since 5.003_92, that "There is no feature
test in $Config{} for truncate, so we allow for the possibility that it's
d missing."

This was never correct, as 5.000 had d_truncate, and taint.t had analogous
tests for $Config{d_chown} etc.
t/op/taint.t