hi
I have some question about xfs/191.
It seems the usage of mkfs.xfs is update, but the test xfs/191 didn't
update timely.
For example: tests/xfs/191-input-validation
line 265: do_mkfs_pass -n log=15 $SCRATCH_DEV
it will execute
/usr/sbin/mkfs.xfs -f -N -n log=15 $SCRATCH_DEV
but there is no option "-n log" now.
---------------------------------------------------------
# /usr/sbin/mkfs.xfs -f -N -n log=15 /dev/vdd
unknown option -n log=15
Usage: mkfs.xfs
/* blocksize */ [-b size=num]
/* metadata */ [-m
crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1]
/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
(sunit=value,swidth=value|su=num,sw=num|noalign),
sectsize=num
/* force overwrite */ [-f]
/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
projid32bit=0|1,sparse=0|1]
/* no discard */ [-K]
/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
sunit=value|su=num,sectsize=num,lazy-count=0|1]
/* label */ [-L label (maximum 12 characters)]
/* naming */ [-n size=num,version=2|ci,ftype=0|1]
/* no-op info only */ [-N]
/* prototype file */ [-p fname]
/* quiet */ [-q]
/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
/* sectorsize */ [-s size=num]
/* version */ [-V]
devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
<value> is xxx (512 byte blocks).
---------------------------------------------------------
And also have other cases which were expected fail but pass now.
Here I paste 10 cases which reprot error at my environment.
-------------------
do_mkfs_fail -n size=2b $SCRATCH_DEV
do_mkfs_fail -d agsize=8192b $SCRATCH_DEV
do_mkfs_fail -d agsize=65536s $SCRATCH_DEV
do_mkfs_fail -d sunit=0,swidth=64 $SCRATCH_DEV
do_mkfs_fail -d su=0,sw=64 $SCRATCH_DEV
do_mkfs_fail -d su=4096s,sw=64 $SCRATCH_DEV
do_mkfs_fail -d su=4096b,sw=64 $SCRATCH_DEV
do_mkfs_fail -l su=10b $SCRATCH_DEV
do_mkfs_pass -n log=15 $SCRATCH_DEV
do_mkfs_pass -i log=10 $SCRATCH_DEV
-------------------
Can you update this case according to the current version of mkfs.xfs?
thanks,
Shaoting Lei
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html