Re: [PATCH] fstests: btrfs/219 add a test to test -o rescue=all

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 08/09/2020 21:39, Josef Bacik wrote:
> +# Modify as appropriate.
> +_supported_fs generic
> +_supported_os Linux
> +_require_test
> +_require_scratch_mountopt "-o rescue=all,ro"
> +
> +# if error
> +exit
> +
> +# optional stuff if your test has verbose output to help resolve problems
> +#echo
> +#echo "If failure, check $seqres.full (this) and $seqres.full.ok (reference)"
> +
> +# success, all done
> +status=0
> +exit

This looks very much like the test template. The only thing it does is check if 
the mount option exit and then exit, doesn't it?

So it either gets skipped if the mount option isn't present or it exits with a 
failure.




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux