mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Some qa cleanup.
Fix mkfs failure to report such instead of mount failure.
This commit is contained in:
@@ -128,7 +128,7 @@ _verify_fs()
|
||||
|
||||
_full "mkfs"
|
||||
_scratch_mkfs_xfs $VERSION -p $protofile >>$seqfull 2>&1 \
|
||||
|| _fail "mount failed"
|
||||
|| _fail "mkfs failed"
|
||||
|
||||
echo "*** check FS"
|
||||
_check_scratch_fs
|
||||
|
||||
@@ -4,19 +4,17 @@ ______________________ ______________
|
||||
|
||||
- pick/create a user to run auto-qa and check they
|
||||
can use ptools to check out of the tree
|
||||
- add your host to xfstests/common.config
|
||||
- add your host to xfstests/tools/auto-qa
|
||||
check both these files in
|
||||
- add your host to xfstests/common.config and check this file in
|
||||
OR create a local.config file in your xfstests directory
|
||||
- make a directory "$HOME/qa"
|
||||
- make a workarea "$HOME/qa/linux-xfs" for linux-xfs
|
||||
(easiest to copy one from elsewhere)
|
||||
- make a kernel workarea "$HOME/qa/2.4.x-xfs" for 2.4.x-xfs
|
||||
and a commands workarea "$HOME/qa/xfs-cmds" for xfs-cmds
|
||||
(easiest to copy them from elsewhere)
|
||||
- cd $HOME/qa ; ln -s xfs-cmds/xfstests/tools/auto-qa .
|
||||
(auto-qa must be a link into it's own source tree
|
||||
so it can update itself)
|
||||
- copy an appropriate .config file to
|
||||
$HOME/qa/$HOSTNAME.config
|
||||
- You'll need to maunally install the "quota" and "acl"
|
||||
userspace tools, rest will be installed automatically.
|
||||
- You'll need a hacked version of 'su' in $HOME/qa that
|
||||
lets your user su to root/root without a password
|
||||
(if you want to run from cron, it mustn't require
|
||||
|
||||
Reference in New Issue
Block a user