-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure everything still runs under taint mode
- Loading branch information
Showing
3 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use warnings; | ||
use strict; | ||
use File::Spec; | ||
|
||
# there is talk of possible perl compilations where -T is a fatal | ||
# we don't want to have the user deal with that | ||
system( $^X => -T => -e => 'use warnings; use strict; exit 0' ); | ||
if ($?) { | ||
print "1..0 # SKIP Your perl does not seem to like -T...\n"; | ||
exit 0; | ||
} | ||
|
||
# all is well - just rerun the basic test | ||
exec( $^X => -T => File::Spec->catpath( | ||
(File::Spec->splitpath( __FILE__ ))[0,1], | ||
'basic.t' | ||
) ); |