review: xfstests/192 atime test
Dave Chinner
david at fromorbit.com
Tue Nov 11 16:38:10 CST 2008
On Tue, Nov 11, 2008 at 05:11:16PM +1100, Timothy Shimmin wrote:
> Attached simple atime test.
> 192.out and group file would be added appropriately.
> Thanks.
> --Tim
> _supported_fs xfs udf nfs
> _supported_os Linux
> delay=150
150s sleep? It only needs a few seconds for this test.
> time3=`_access_time $testfile | tee -a $seq.full`
>
> delta1=`expr $time2 - $time1`
> delta2=`expr $time3 - $time1`
>
> echo "delta1 - access time after sleep in-core: $delta1"
> echo "delta2 - access time after sleep on-disk: $delta2"
Why bother with deltas? if the numbers are the same, just output
"same", if they are different, output "different"....
FWIW, is there a patch being proposed that fixes this problem?
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list