From: Jarkko Hietaniemi Date: Tue, 29 Aug 2000 14:25:17 +0000 (+0000) Subject: Disabling the one test is a bit tricky. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2898e2cc516011c930234c57dc67480ae22276d8;p=p5sagit%2Fp5-mst-13.2.git Disabling the one test is a bit tricky. p4raw-id: //depot/perl@6884 --- diff --git a/t/lib/ftmp-security.t b/t/lib/ftmp-security.t index ca57992..2466916 100755 --- a/t/lib/ftmp-security.t +++ b/t/lib/ftmp-security.t @@ -9,7 +9,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require Test; import Test; - plan(tests => 12); + plan(tests => 13); } use strict; @@ -103,10 +103,12 @@ sub test_security { # Explicitly # Disabled temporarily since people seem to have funky owner/permissions setups -# (if and when re-enabling this, remember to bump the number of tests, too) # --jhi 2000-08-29 # my ($fh2, $fname2) = tempfile ($template, UNLINK => 1 ); -# ok( (-e $fname2) ); + my($fname2) = "foobar$$"; + my $fh2; + open($fh2, ">$fname2") || warn "$0: failed to create '$fname2': $!\n"; + ok( (-e $fname2) ); close($fh2); # Store filenames for the end block