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 9/9/20 3:15 AM, Johannes Thumshirn wrote:
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.


Lol Jesus Christ, I git format-patch'ed to copy the test to the box I was actually going to use and fixed it there, but then forgot to copy the new one back over and sent the template. I'm an idiot, I'll resend the actual test. Thanks,

Josef



[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