-#!./perl -tw
+#!./perl -t
BEGIN {
chdir 't';
require './test.pl';
}
-plan tests => 10;
+plan tests => 11;
my $Perl = which_perl();
like( $warning, qr/^Insecure dependency in unlink $Tmsg/,
'unlink() taint warn' );
ok( !-e $file, 'unlink worked' );
+
+ok( !$^W, "-t doesn't enable regular warnings" );