Is the quotactl01 testcase supposed to be working? I get the following failure (I reformatte the output slightly for clarity):
# ./quotactl01 quotactl01 1 TBROK : failed to enable quotas on block device: (null); 1. Ensure that the device is mounted with the quota option. 2. Check the filesystem status with `quotacheck (null)': errno=EFAULT(14): Bad address Looking at the code and interpreting the error messages it seems that there is a bunch of setup required to get this test to run. I tried the following. It gets me a bit further into the code before failing but still does fail: # /etc/init.d/quotad start # makes no difference if I do this or not # dd if=/dev/zero of=image bs=4096 count=128000 # mkdir filesys # mke2fs -F image # mount -o loop,usrquota image filesys # quotacheck -cu filesys # creates filesys/aquota.user # ./quotactl01 -b /dev/loop0 -m $PWD/filesys -q aquota.user quotactl01 1 TBROK : failed to enable quotas on block device: /dev/loop0; 1. Ensure that the device is mounted with the quota option. 2. Check the filesystem status with `quotacheck /dev/loop0' errno=ESRCH(3): No such process Checking status as suggested by above error output: # mount /dev/loop0 on /opt/fiv/ltp/testcases/kernel/syscalls/quotactl/filesys type ext2 (rw,usrquota) # quotacheck -v /dev/loop0 quotacheck: Scanning /dev/loop0 [/opt/fiv/ltp/testcases/kernel/syscalls/quotactl/filesys] done quotacheck: Checked 2 directories and 1 files # echo $? 0 So it is mounted with usrquota and "quotacheck /dev/loop0" gives zero rc but the test still fails. Is there more I should be doing? Robert Paulsen IBM Linux Technology Center, Austin [email protected] 512-468-0565 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
