Fix test 078 so it doesnt depend on the root fs blocksize; make it use TEST_DEV cos we know thats an XFS filesystem and supports sparse files

This commit is contained in:
fsgqa
2003-09-12 00:35:33 +00:00
parent 25fcdbf249
commit 6f7119b648
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -58,8 +58,8 @@ trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
_require_loop
LOOP_DEV=$tmp.fs
LOOP_MNT=$tmp.mnt
LOOP_DEV=$TEST_DIR/$seq.fs
LOOP_MNT=$TEST_DIR/$seq.mnt
# real QA test starts here
echo "*** create loop mount point"
@@ -100,7 +100,7 @@ _grow_loop 168024b 1376452608 4096
# Some other blocksize cases...
_grow_loop 168024b 1376452608 2048
_grow_loop 168024b 1376452608 512
_grow_loop 168024b 168025b 1024
_grow_loop 168024b 688230400 1024
echo "*** all done"
status=0
+2 -2
View File
@@ -64,7 +64,7 @@ log =LDEV bsize=XXX blocks=XXX
realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
*** unmount and check
=== GROWFS (from 168024b to 168025b, 1024 blocksize)
=== GROWFS (from 168024b to 688230400, 1024 blocksize)
*** mkfs loop file (size=168024b)
meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
@@ -74,7 +74,7 @@ naming =VERN bsize=XXX
log =LDEV bsize=XXX blocks=XXX
realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
*** extend loop file
wrote 1024/1024 bytes at offset 344115200
wrote 1024/1024 bytes at offset 688230400
*** mount loop filesystem
*** grow loop filesystem
meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks