From: fsgqa Date: Wed, 4 Sep 2002 11:14:37 +0000 (+0000) Subject: several fixes, should now work properly. dont go too crazy with big X-Git-Tag: v1.1.0~1049 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4015cd25b06324055152857d2fe44b692273fdcd;p=users%2Fhch%2Fxfstests-dev.git several fixes, should now work properly. dont go too crazy with big files cos the scratch device may be of limited size. --- diff --git a/069 b/069 index a40d69d37..039184304 100755 --- a/069 +++ b/069 @@ -1,6 +1,6 @@ #! /bin/sh # XFS QA Test No. 069 -# $Id: 069,v 1.1 2002/09/04 07:44:40 fsgqa Exp $ +# $Id: 069,v 1.2 2002/09/04 11:14:37 fsgqa Exp $ # # Test out writes with O_APPEND flag sets. # @@ -68,24 +68,27 @@ mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >/dev/null \ cd $SCRATCH_MNT -sizes="1 20 300 40000 3000000 200000000 12345" +sizes="1 20 300 40000 3000000 12345" for size in $sizes ; do $here/src/append_writer $size & echo $! $size >> pids done +cd $here + wait ls -lh >> $seq.full -echo "*** PIDs file" -cat pids >> $seq.full +echo "*** PIDs file" >> $seq.full +cat $SCRATCH_MNT/pids >> $seq.full -cat pids | while read pid size +cat $SCRATCH_MNT/pids | while read pid size do - echo "*** checking file with $size integers $pid" + echo "*** checking file with $size integers" echo checking pid=$pid size=$size >> $seq.full - $here/src/append_reader testfile.$pid + $here/src/append_reader $SCRATCH_MNT/testfile.$pid status=$? - [ $status -ne 0 ] && echo "corrupt O_APPEND to testfile.$pid!" + [ $status -ne 0 ] && \ + echo "maybe corrupt O_APPEND to $SCRATCH_MOUNT/testfile.$pid!" echo status: $status >> $seq.full done diff --git a/069.out b/069.out new file mode 100644 index 000000000..0d7b23c0b --- /dev/null +++ b/069.out @@ -0,0 +1,9 @@ +QA output created by 069 +*** mkfs +*** mount FS +*** checking file with 1 integers +*** checking file with 20 integers +*** checking file with 300 integers +*** checking file with 40000 integers +*** checking file with 3000000 integers +*** checking file with 12345 integers