Message-ID: <
549856591.20010920183622@tesla.rcub.bg.ac.yu>
p4raw-id: //depot/perl@12100
# these are destructive, have to keep setting @ARGV
@ARGV = ( 'ecmdfile' );
- my $now = time;
touch();
@ARGV = ( 'ecmdfile' );
@ARGV = ( 'ecmdfile' );
ok( -e $ARGV[0], 'created!' );
+ my ($now) = time;
+ utime ($now, $now, $ARGV[0]);
+
# Just checking modify time stamp, access time stamp is set
# to the beginning of the day in Win95
is( (stat($ARGV[0]))[9], $now, 'checking modify time stamp' );