diff --git a/tests/ownCloud/t1.pl b/tests/ownCloud/t1.pl index 15b17bfef7..476fe98d90 100755 --- a/tests/ownCloud/t1.pl +++ b/tests/ownCloud/t1.pl @@ -147,8 +147,8 @@ sub assertLocalAndRemoteDir( $$$ ) # check for equal mod times my $remoteModTime = $res->get_property( "lastmodifiedepoch" ) ; my @info = stat( "$local/$filename" ); - my $localModTime = $info[8]; - assert( $remoteModTime == $localModTime, "Modfied-Times differ: $remoteModTime <-> $localModTime" ); + my $localModTime = $info[9]; + assert( $remoteModTime == $localModTime, "Modfied-Times differ: remote: $remoteModTime <-> local: $localModTime" ); # check for the same file size my $localSize = $info[7]; @@ -237,4 +237,4 @@ remoteCleanup( $d, $remoteDir ); localCleanup( $localDir ); -# end. \ No newline at end of file +# end.